tf function doesn't work
23 ビュー (過去 30 日間)
古いコメントを表示
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')
1 件のコメント
lounis chehrit
2021 年 6 月 10 日
It seems that the Control system toolbox is not installed !
You have to install It first !
採用された回答
Ameer Hamza
2020 年 9 月 26 日
編集済み: Ameer Hamza
2020 年 9 月 26 日
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 of
ver control
If you have the toolbox installed, it will display the version of toolbox otherwise you don't have the toolbox.
4 件のコメント
その他の回答 (1 件)
Nasreddine
2025 年 1 月 5 日
編集済み: Walter Roberson
2025 年 1 月 5 日
clear all ;
close all ;
clc ;
s=tf('s');
G=0.8/(0.5*s+1);
H=feedback(G,1);
step(H);
grid
1 件のコメント
Walter Roberson
2025 年 1 月 5 日
I do not understand how this answers the question about tf() not being found?
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!