Image Help with loops
1 次查看(过去 30 天)
显示 更早的评论
So I just realized that I misread the problem and was supposed to use loops to create the image values for every layer R, G and B. I have a working code but could someone please show me how I could get the same result while incorporating loops? Thank you so much!!
0 个评论
采纳的回答
Image Analyst
2016-10-2
What do you mean misread? Is it homework? We're not supposed to just do your homework for you (so you don't get caught cheating), and if it's homework you're supposed to tag it as homework. Please read this http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers
So I assume you know how to do a for loop, so give it a try.
for col = 1 : 256
for row = 1 : 256
% Code for you to finish....
end
end
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!