convert two .jpg files into a single .mat file

1 visualizzazione (ultimi 30 giorni)
dinesh
dinesh il 29 Nov 2012
Commentato: Yogesh Awate il 28 Nov 2017
How to convert two .jpg files into a single .mat file in matlab

Risposte (1)

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

Accedi per commentare.

Categorie

Scopri di più su Workspace Variables and MAT Files in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by