Why cant i plot an image in matlab?
이전 댓글 표시
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?
답변 (1개)
Nitin Narayanan
2016년 10월 3일
0 개 추천
Is your "download.jpg" image, in the same folder as that of your matlab workspace?
댓글 수: 3
Nitin Narayanan
2016년 10월 3일
It worked for me as when i tried to plot the image.
Emily Smith
2016년 10월 3일
Nitin Narayanan
2016년 10월 5일
Hope it worked for you
카테고리
도움말 센터 및 File Exchange에서 Images에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!