You could reshape your data (https://www.mathworks.com/help/matlab/ref/reshape.html) into a 2D matrix (something like [256x256x22,99]). If you want you could also save the 3 xyz coordinates (i.e. indices) in the matrix (size [256x256x22,3+99]).
To save as .txt, try dlmwrite (https://www.mathworks.com/help/matlab/ref/dlmwrite.html)
To save as .csv, try csvwrite (https://www.mathworks.com/help/matlab/ref/csvwrite.html)
1 件のコメント
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/430306-4d-matrix-in-txt-and-csv#comment_1260108
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/430306-4d-matrix-in-txt-and-csv#comment_1260108
サインインしてコメントする。