rotz cannot be called

30 views (last 30 days)
Kit Sang  Chu
Kit Sang Chu on 31 Jul 2015
Answered: Walter Roberson on 31 Jul 2015
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.

Accepted Answer

Walter Roberson
Walter Roberson on 31 Jul 2015
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.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!