convert two .jpg files into a single .mat file

1 vue (au cours des 30 derniers jours)
dinesh
dinesh le 29 Nov 2012
Commenté : Yogesh Awate le 28 Nov 2017
How to convert two .jpg files into a single .mat file in matlab
  1 commentaire
Jan
Jan le 29 Nov 2012
Did you explain all required details?

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 29 Nov 2012
pic1 = imread('Picture1.jpg');
pic2 = imread('Picture2.jpg');
save('BothPics.mat', 'pic1', 'pic2');
  4 commentaires
Yogesh Awate
Yogesh Awate le 28 Nov 2017
sorry to not mentioning, they are .tif images
Yogesh Awate
Yogesh Awate le 28 Nov 2017
Thank you,you code was very helpful, thanks a lot!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Workspace Variables and MAT Files 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!

Translated by