what does this command plots?
Show older comments
plot(1:size(image,1) , mean(Image,2), 'g' );
1 Comment
Adam
on 24 Jan 2017
Surely the simplest way to understand is just to run the code?!
Answers (1)
the cyclist
on 24 Jan 2017
Edited: the cyclist
on 24 Jan 2017
0 votes
Assuming that image is an NxN array, this command plots a single green line that
- along the x-axis, goes from 1 to N
- along the y-axis, goes along the mean value of the 1st through Nth rows
(Also, I assume you mean that "image" and "Image" are the same variable, and just did a typo in capitalization.)
2 Comments
Adithya Chakilam
on 24 Jan 2017
Edited: Adithya Chakilam
on 24 Jan 2017
the cyclist
on 24 Jan 2017
Categories
Find more on Blue in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!