i can't use function tf() and bode()

when i try a example:
>> H = tf([1 0.1 7.5],[1 0.12 9 0 0]);
bode(H)
Undefined function 'tf' for input arguments of type 'double'.
as it appears on the error, I do not know what to fix desire to help people. thanks a lot

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 9 Jun. 2013

1 Stimme

tf() is in the Control Systems Toolbox. That is not included in the Professional or Academic licenses, but is included in the Student Version license... but is not installed by default with the Student license.

2 Kommentare

湘雅
湘雅 am 10 Apr. 2023
how to deal with it.....sad, thank you!
Walter Roberson
Walter Roberson am 10 Apr. 2023
Use the Add-On Manager to search for Control Systems Toolbox. If it gives a simple option to install the toolbox, then go ahead and do that -- in that situation it would mean that you already have a license for the toolbox. But if it has a Buy button then you do not already have a license for the product, and would need to obtain a license.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with Control System Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by