Hi,
I tried to do a rotation matrix about z-axis. Somehow it cannot recognize it.
theta = 10;
rotz(theta);
There is error - Undefined function 'rotz' for input arguments of type 'double'.
It is furious. Does anyone know how to solve it?
Thanks.

 채택된 답변

Walter Roberson
Walter Roberson 2015년 7월 31일

1 개 추천

rotz() is part of the Phased Array Toolbox. You would need to have it installed.
Alternately you could use rotz from a File Exchange contribution. Note though that rotz() from the Phased Array Toolbox works in degrees but the File Exchange contribution works in radians.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Antennas, Microphones, and Sonar Transducers에 대해 자세히 알아보기

태그

질문:

2015년 7월 31일

답변:

2015년 7월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by