필터 지우기
필터 지우기

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 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