Reflexion to a 100 X 100 X 28 cubic matrix

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by