quiverRotate

버전 1.1.0 (2.86 KB) 작성자: Adam Danz
Rotates the direction of quiver arrows produced by quiver().
다운로드 수: 266
업데이트 날짜: 2020/4/17

라이선스 보기

Rotate the quiver arrows produced by quiver() about their (x,y) base by any specified angle in degrees or radians.

h = quiver(X, Y, U, V);
quiverRotate(h) Rotate existing arrows by 180 deg.
quiverRotate(h, r) Rotate existing arrows by r radians.
quiverRotate(h, d, 'deg') Rotate existing arrows by d degrees.

[Ur, Vr] = quiverRotate(U, V); Compute the vector components rotated by 180 deg.
[Ur, Vr] = quiverRotate(U, V, r); Compute the vector components rotated by r radians.
[Ur, Vr] = quiverRotate(U, V, d, 'deg'); Compute the vector components rotated by d degrees.
quiver(X, Y, Ur, Vr)

인용 양식

Adam Danz (2024). quiverRotate (https://www.mathworks.com/matlabcentral/fileexchange/75055-quiverrotate), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
R2014b 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0

Theta can now be an array of equal size to U and V.

1.0.1

Added URL to help-section of m-file.

1.0.0