フィルターのクリア

How to make a "page transpose" in a 3D matrix without using the function pagetranspose?

8 ビュー (過去 30 日間)
Sim
Sim 2022 年 2 月 10 日
コメント済み: Sim 2022 年 2 月 13 日
How to make a "page transpose" in a 3D matrix without using the function pagetranspose (due to older version of matlab)?

採用された回答

James Tursa
James Tursa 2022 年 2 月 10 日
Mtranspose = permute(M,[2 1 3]);

その他の回答 (1 件)

David Hill
David Hill 2022 年 2 月 10 日
for k=1:size(yourMatrix,3)
newMatrix(:,:,k)=yourMatrix(:,:,k)';
end

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by