How to convert the following jpg file to matlab.fig file

36 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Wanbin Song
Wanbin Song el 28 de Oct. de 2015
As my understanding of your question, it is pretty simple as below:
img = imread('~~.jpg');
imshow(img);
savefig('~~~.fig');
  4 comentarios
Chris Martin
Chris Martin el 4 de Nov. de 2015
It works....Thank you
Shashank Chandrasekaran 16BEE0334
Shashank Chandrasekaran 16BEE0334 el 25 de Ag. de 2018
Thank you so much!!! It worked for me.

Iniciar sesión para comentar.

Más respuestas (1)

Muhammad Khan
Muhammad Khan el 29 de Mayo de 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.

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by