Thursday, 15 July 2010

arrays - Read multiple .mat files and store them in a cell -



arrays - Read multiple .mat files and store them in a cell -

previous .mat file reading questions have been looked at, little more specific please bear me.

i have big dataset of files named:

int_f0270.mat int_f0271.mat ...

these image matrices need read matlab can perform sequential operations on them. code using below:

= 270:273 filename = strcat('int_f0',int2str(i),'.mat'); load(filename); end

this works first file (e.g. int_f0271.mat), fails load more .mat files picture.

the output this:

which right size , can displayed image need info set. help appreciated.

imagecell = {}; = 270:273 filename = strcat('int_f0',int2str(i),'.mat'); load(filename); imagecell{i-269} = c; clear c end

arrays matlab computer-vision mat

No comments:

Post a Comment