save a matrix in a loop.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
Walter Roberson
el 16 de Mayo de 2012
C{i} = ....
Then the matrices would be C{1}, C{2} and so on.
2 comentarios
afaf
el 10 de Mzo. de 2013
I got this error:
??? Cell contents assignment to a non-cell array object.
Why?!
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Type Identification en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!