what does this command plots?
1 次查看(过去 30 天)
显示 更早的评论
plot(1:size(image,1) , mean(Image,2), 'g' );
回答(1 个)
the cyclist
2017-1-24
编辑:the cyclist
2017-1-24
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.)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!