フィルターのクリア

Reflexion to a 100 X 100 X 28 cubic matrix

2 ビュー (過去 30 日間)
Octavio
Octavio 2013 年 6 月 26 日
Hello,
please I'd like to apply a X-Z plane reflexion to a 100 X 100 X 28 cubic matrix (3D) stored in a vector of 280000 cells,
the X-Z plane of reflexion passing through the middle of the matrix at y = 50.
please is there any code ?
Many thanks

採用された回答

Matt J
Matt J 2013 年 6 月 26 日
M_flipped = flipdim(M,2);

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 6 月 26 日
Something like
M(:,end/2:-1:1,:) = M(:,end/2+1:end,:)
?

カテゴリ

Help Center および File ExchangeData Import and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by