Why cant i plot an image in matlab?
7 次查看(过去 30 天)
显示 更早的评论
I'm trying to plot an image in MatLab and I'm using this :
img = imread('download.jpg'); image([0.1 -0.1],[0.1 -0.1],img);
For some reason my picture isn't showing up because MatLab cant find 'download.jpg', but I know I specifically saved a picture by this name. How am I supposed to save pictures so they can be displayed in MatLab?
0 个评论
回答(1 个)
Nitin Narayanan
2016-10-3
Is your "download.jpg" image, in the same folder as that of your matlab workspace?
3 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!