how to import the data from the cell array?

5 ビュー (過去 30 日間)
ganesh s
ganesh s 2011 年 12 月 3 日
hi i want to know how to import or use the data from the cell array(.MAT file). i have extracted the features of the 500 images and store it in cell array which of the size 500x1 with each row represent the single image of of size (1x19062).i want to use this data in some other MATLAB program but i don't know how to use it. i like to know to import this data in other MATLAB program. to use the data of each image as a variable in Other program to subtract the feature of the single image from this complete data(which is the extracted feature of 500 images)


Fangjun Jiang
Fangjun Jiang 2011 年 12 月 3 日
Use it the same way as you use an ordinary array, just replace the () reference with {}. For example
  2 件のコメント
Fangjun Jiang
Fangjun Jiang 2011 年 12 月 3 日
try access it using Data{i}(j), or you can convert it to a matrix using cell2mat(Data)


その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by