Problem using tf to perform a transfer function.
Mostrar comentarios más antiguos
I was trying to mimic an m-script file for completing a transfer function from my textbook. I ran into an issue where I receive an error "Undefined functin 'tf' for input arguments of type 'double'."
My code is as follows:
numg=[6 0 1];
deng=[1 3 3 1];
sysg=tf(numg,deng);
Undefined functin 'tf' for input arguments of type 'double'.
It is important to know that the code comes from the textbook. Could I be missing a package?
Respuesta aceptada
Más respuestas (1)
Sam Chak
el 31 de Ag. de 2023
1 voto
If you are unable to obtain the Control System Toolbox, many useful MATLAB-compatible functions can still be executed on Octave Online. These functions include ss, tf, zpk, damp, pole, zero, rlocus, bode, nyquist, pid, feedback, minreal, dcgain, step, initial, impulse, lsim, place, lqr, lyap, etc.

Categorías
Más información sobre Dynamic System Models en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!