R = rotx(ang), roty(ang), rotz(ang) is not working in my MATLAB.

33 ビュー (過去 30 日間)
Mohammad Shafi Nikzada
Mohammad Shafi Nikzada 2021 年 6 月 9 日
回答済み: Siamak Mohebbi 2022 年 11 月 25 日
R = rotx(ang), roty(ang), rotz(ang) is not working in my MATLAB. I get this error "Unrecognized function or variable 'rotx'." can anyone help me?
do we need extra tool box for this to be installed?
When I try the online MATLAB, there it works.
  1 件のコメント
Scott MacKenzie
Scott MacKenzie 2021 年 6 月 9 日
You need the Phase Array Toolbox, as noted here.

サインインしてコメントする。

採用された回答

Mike Croucher
Mike Croucher 2021 年 6 月 9 日
As Scott mentioned, these are in Phase Array Toolbox. Since you have access to it on MATLAB Online, it must be included in your license. As such, you should be able to install it using the MATLAB add ons Get and Manage Add-Ons - MATLAB & Simulink - MathWorks India

その他の回答 (1 件)

Siamak Mohebbi
Siamak Mohebbi 2022 年 11 月 25 日
Not sure where I saw these coordinate transformation functions last but they where used to be called "rot1, rot2, rot3". And the code for them where in plain view. I am refering to installation disks issued by MathWorks prior to 2006. And they still work!

カテゴリ

Help Center および File ExchangePlatform and License についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by