MATLAB: Tf function doesn’t work tftransfer function when I try to use tf function this is what I get : >> s = tf('s') Unrecognized function or variable 'tf'. Did you mean: >> s = tfe('s') Best Answer You need to have the control system toolbox: https://www.mathworks.com/help/control/index.html for using tf() function. It seems that you haven't installed this toolbox. Check the output ofver controlIf you have the toolbox installed, it will display the version of toolbox otherwise you don't have the toolbox. Related SolutionsMATLAB: Transfer function if you want to try simulate the response of that transfer function with step or ramp function, you can try defining that TF with 'tf' command and then using 'step' for response plot. MATLAB: Transfer function ‘tf’ http://www.mathworks.com/help/control/ref/tf.html Control System Toolboxhttp://www.mathworks.com/help/signal/ref/tf.html Signal Processing Toolboxhttp://www.mathworks.com/help/mpc/ref/tf.html Model Predictive Control ToolboxYou need one of those three. Related QuestionTransfer functionExponential transfer function
Best Answer