フィルターのクリア

save a matrix in a loop.

2 ビュー (過去 30 日間)
madhuri sachane
madhuri sachane 2012 年 5 月 16 日
I have the output in matrix form in a for loop And i want to store it in a file.
>>for i=1:3 >>input_image=['input1\1\',num2str(i),'.bmp'];
>>[C] =demowithwavwletmaxcomp(input_image);
>>end
I need to save matrix C for each iteration with incrementing name. And I also want to access these matrices for the matching purpose. for hamming distance. I need help..please suggest me..

採用された回答

Walter Roberson
Walter Roberson 2012 年 5 月 16 日
C{i} = ....
Then the matrices would be C{1}, C{2} and so on.
  2 件のコメント
afaf
afaf 2013 年 3 月 10 日
I got this error:
??? Cell contents assignment to a non-cell array object.
Why?!
afaf
afaf 2013 年 3 月 11 日
That was because I used the same variable "C{i}" before !
Sorry..

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Type Identification についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by