Rotate surf input matrices

Rotates the SURF input matrices in three-dimensional space

이 제출물을 팔로우합니다

[X,Y,Z] = ROTATESURF(x,y,z,euleraxis,eulerangle) rotates the SURF input data xyz, where x,y and z are matrices of the same size, according to the rotation axis euleraxis (vector) and the angle eulerange (radians).

SURF(X,Y,Z) displays the rotated object.

Omitting output arguments causes the object to be displayed with a SURF command and no outputs to be returned.

ROTATESURF(AX,...) plots into AX instead of GCA.

EXAMPLE:
eaxis = [1,1,1];
eangle = pi/4;
[x,y,z] = peaks(25);
[X,Y,Z] = rotatesurf(X,Y,Z,eaxis,eangle);
surf(X,Y,Z)

Álvaro Romero Calvo 09-05-17

인용 양식

Álvaro Romero Calvo (2026). Rotate surf input matrices (https://kr.mathworks.com/matlabcentral/fileexchange/64026-rotate-surf-input-matrices), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 받은 파일: Generate cylinder with custom axis

카테고리

Help CenterMATLAB Answers에서 Graphics Object Properties에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0