Error using tf (transfer function)
9 views (last 30 days)
Show older comments
James Phegley
on 22 Feb 2019
Commented: Fangjun Jiang
on 2 Nov 2020
Getting the following error:
>> sys = tf([1 2],[1 0 10])
Undefined function 'tf' for input arguments of type 'double'.
Using R2018b and control system toolbox is installed.
0 Comments
Accepted Answer
Fangjun Jiang
on 22 Feb 2019
run "which -all tf" to find out
2 Comments
Fangjun Jiang
on 22 Feb 2019
Edited: Fangjun Jiang
on 22 Feb 2019
while other tooltoxes have tf() for transfer function, your Control System Toolbox was not there.
Should have
\MATLAB\R2018b\toolbox\control\ctrlmodels\@tf\tf.m
check your Control System Toolbox
ver control
More Answers (1)
Marco Corral Flores
on 1 Nov 2020
106/5000
Hi:
I have problems when using the "tf" command
Please could you help me in this regard.
link video youtube: https://youtu.be/Xr3kPGrHGSg
1 Comment
Fangjun Jiang
on 2 Nov 2020
The error message indicates you don't have one of those needed toolboxes
See Also
Categories
Find more on Control System Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!