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

61 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Mike Croucher
Mike Croucher am 9 Jun. 2021
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

Weitere Antworten (1)

Siamak Mohebbi
Siamak Mohebbi am 25 Nov. 2022
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!

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by