Reflexion to a 100 X 100 X 28 cubic matrix

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

 Akzeptierte Antwort

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 26 Jun. 2013

0 Stimmen

Something like
M(:,end/2:-1:1,:) = M(:,end/2+1:end,:)
?

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by