2D matrix plane from a 3D matrix.
古いコメントを表示
I want to get a plane from a 3D matrix as a 2D matrix. i have tried using these commands but it doesn't works.
P = A ( 10, :, : ) . I want the plane y-z of A matrix and save it as a 2D 'P' Matrix.
回答 (1 件)
KSSV
2018 年 6 月 14 日
P = squeeze(A ( 10, :, : )) ;
Read about squeeze
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!