save a three dimensional matrix
Mostrar comentarios más antiguos
How can i save a three dimensional matrix. The following does not work
for b=1:size(GP,3);
Q(:,:,b)=wtpt*GP(:,:,b);
save('G:\.........\Q.txt','Q','-ASCII','-double');
end
Thanks
Respuesta aceptada
Más respuestas (1)
luchen li
el 2 de Nov. de 2017
Hi, what does the wtpt* in
Q(:,:, b) = wtpt*GP(:,:,b) ; means?
1 comentario
Walter Roberson
el 2 de Nov. de 2017
That is something form the user's original code. We do not have any information on what the user was attempting to compute back then. It is not relevant to the matter of saving 3D arrays: it just illustrates how the user was constructing the 3D array.
Categorías
Más información sobre Read, Write, and Modify Image en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!