Effacer les filtres
Effacer les filtres

Reflexion to a 100 X 100 X 28 cubic matrix

2 vues (au cours des 30 derniers jours)
Octavio
Octavio le 26 Juin 2013
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

Réponse acceptée

Matt J
Matt J le 26 Juin 2013
M_flipped = flipdim(M,2);

Plus de réponses (1)

Walter Roberson
Walter Roberson le 26 Juin 2013
Something like
M(:,end/2:-1:1,:) = M(:,end/2+1:end,:)
?

Catégories

En savoir plus sur Data Import and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by