Transfer function 'tf'
164 views (last 30 days)
Show older comments
Aurore Lecharlier
on 16 Feb 2016
Commented: Jerry Maravilla
on 27 Sep 2021
Hi, in Matlab R2015b, I used the commando ' tf ' for the transfer function. When I run the script where I used it, I get an error message ' undefined function or variable 'tf' '. How do we get or create this function 'tf' ? I thought it was an inherent function of matlab. Thank you.
0 Comments
Accepted Answer
Walter Roberson
on 16 Feb 2016
http://www.mathworks.com/help/control/ref/tf.html Control System Toolbox
http://www.mathworks.com/help/signal/ref/tf.html Signal Processing Toolbox
http://www.mathworks.com/help/mpc/ref/tf.html Model Predictive Control Toolbox
You need one of those three.
7 Comments
Akella Kartik
on 22 Sep 2021
I have the isseu in 2021a as well. I installed both Signal Processing Toolbox and the DSP System Toolbox, but still I get this:
Unrecognized function or variable 'tf'. for tf and
'tf' not found. for which tf
Jerry Maravilla
on 27 Sep 2021
Try the control system tool box. If that doesn't work you can just use matlab's online editor. Doesn't fix the issue but you'll be able to run your code.
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!