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

33 次查看(过去 30 天)
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

采纳的回答

Wanbin Song
Wanbin Song 2015-10-28
As my understanding of your question, it is pretty simple as below:
img = imread('~~.jpg');
imshow(img);
savefig('~~~.fig');
  4 个评论

请先登录,再进行评论。

更多回答(1 个)

Muhammad Khan
Muhammad Khan 2018-5-29
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.

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by