save a three dimensional matrix
显示 更早的评论
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
采纳的回答
更多回答(1 个)
luchen li
2017-11-2
Hi, what does the wtpt* in
Q(:,:, b) = wtpt*GP(:,:,b) ; means?
1 个评论
Walter Roberson
2017-11-2
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!