rotz cannot be called

19 ビュー (過去 30 日間)
Kit Sang  Chu
Kit Sang Chu 2015 年 7 月 31 日
回答済み: Walter Roberson 2015 年 7 月 31 日
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 日
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 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by