write image and display
Ältere Kommentare anzeigen
I want to write H as an image and display. Please help me.
1 Kommentar
Adam
am 29 Sep. 2016
What is H? The letter H or some matrix or what?
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 29 Sep. 2016
Or, if you don't want some weird colormap applied by default (like imagesc applies for some reason):
imshow(H, []);
To write H to disk, you can use imwrite() if it's an integer array and you want a standard image format, or use save() if you want to save a floating point image. If you want to save a screenshot of your entire figure/GUI, use export_fig.
Kategorien
Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!