How to convert the following jpg file to matlab.fig file
69 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Chris Martin
le 28 Oct 2015
Commenté : Shashank Chandrasekaran 16BEE0334
le 25 Août 2018
Hi, I am trying to convert this .jpg file to matlab.fig file. I try with imread(*.jpg) and then imagesc(:,1:end). It do display the fig but with a red colour all over the image. Please help me
0 commentaires
Réponse acceptée
Wanbin Song
le 28 Oct 2015
As my understanding of your question, it is pretty simple as below:
img = imread('~~.jpg');
imshow(img);
savefig('~~~.fig');
4 commentaires
Plus de réponses (1)
Muhammad Khan
le 29 Mai 2018
I am using this code to convert .jpg file to maltab .fig but in matlab lab file there is no figure represented and if I want to convert more than one .jpg files to fig how can I. I am attaching two files.
0 commentaires
Voir également
Catégories
En savoir plus sur Convert Image Type 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!