Clear Filters
Clear Filters

Transfer function 'tf'

214 views (last 30 days)
Aurore Lecharlier
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.

Accepted Answer

Walter Roberson
Walter Roberson on 16 Feb 2016
http://www.mathworks.com/help/mpc/ref/tf.html Model Predictive Control Toolbox
You need one of those three.
  7 Comments
Akella Kartik
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
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.

Sign in to comment.

More Answers (0)

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!