save a three dimensional matrix
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
luchen li
am 2 Nov. 2017
Hi, what does the wtpt* in
Q(:,:, b) = wtpt*GP(:,:,b) ; means?
1 Kommentar
Walter Roberson
am 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.
Kategorien
Mehr zu Read, Write, and Modify Image finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!