save a matrix in a loop.
조회 수: 2 (최근 30일)
이전 댓글 표시
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..
댓글 수: 0
채택된 답변
Walter Roberson
2012년 5월 16일
C{i} = ....
Then the matrices would be C{1}, C{2} and so on.
댓글 수: 2
afaf
2013년 3월 10일
I got this error:
??? Cell contents assignment to a non-cell array object.
Why?!
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Type Identification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!