Why cant i plot an image in matlab?
Mostrar comentarios más antiguos
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?
Respuestas (1)
Nitin Narayanan
el 3 de Oct. de 2016
0 votos
Is your "download.jpg" image, in the same folder as that of your matlab workspace?
3 comentarios
Nitin Narayanan
el 3 de Oct. de 2016
It worked for me as when i tried to plot the image.
Emily Smith
el 3 de Oct. de 2016
Nitin Narayanan
el 5 de Oct. de 2016
Hope it worked for you
Categorías
Más información sobre Images en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!