save a three dimensional matrix
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
luchen li
le 2 Nov 2017
Hi, what does the wtpt* in
Q(:,:, b) = wtpt*GP(:,:,b) ; means?
1 commentaire
Walter Roberson
le 2 Nov 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.
Catégories
En savoir plus sur Read, Write, and Modify Image dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!