Effacer les filtres
Effacer les filtres

Why cant i plot an image in matlab?

4 vues (au cours des 30 derniers jours)
Emily Smith
Emily Smith le 3 Oct 2016
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?

Réponses (1)

Nitin Narayanan
Nitin Narayanan le 3 Oct 2016
Is your "download.jpg" image, in the same folder as that of your matlab workspace?
  3 commentaires
Emily Smith
Emily Smith le 3 Oct 2016
no it was not saved in the same folder, perhaps that is the problem...
Nitin Narayanan
Nitin Narayanan le 5 Oct 2016
Hope it worked for you

Connectez-vous pour commenter.

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by