How do i extract data from 3D matrix?
8 ビュー (過去 30 日間)
古いコメントを表示
I have a matrix of size 256*256*256, i want to create a 2D matrix whose each row has information from the z direction of the original matrix, how do i do it?
2 件のコメント
James Tursa
2021 年 11 月 22 日
編集済み: James Tursa
2021 年 11 月 22 日
Please give us a small example of what you want. E.g., start with a 2x2x2 array and then show us the resulting 2x2 matrix you want as an output. Maybe all you need is sum(matrix,3) or mean(matrix,3), but we can't tell from what you have written so far.
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!