Homework 5 Flashcards

1
Q

img=imread(image)

A

downloads the image into a matrix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

rot90(image,x)

A

rotates the image 90 degrees an x number of times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

cut out a piece of the picture

A

[rows, cols] = size(img)
cut1=(rows/2,cols/2)
pic2=cut1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

sort()

A

sorts data in ascending or descending order

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

subplot(a,b,c)

A

creates a series of plots displayed by a by b with the plot below the command being the c order plot

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

plot(x,y,color)
(can also be- plot(data,color)

A

plots a graph of x by y with a line/symbol according to what is provided

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

histogram(x,a)

A

creates a histogram from a matrix with an x number of bins

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

gtext()

A

allows text to be placed manually on a graph/plot

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly