How can I read my jpeg file in matlab as .mat file

1 view (last 30 days)
Hi I have an image on my Pc that I want to use in my code but it is in jpeg and I want to make it .mat file to read it and call it in matlab. How may I call it or convert it?

Accepted Answer

KSSV
KSSV on 21 Nov 2022
REad about imread.
I = imread(myjpeg) ;
save data.mat

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!