How i can get state space model from transfer function?

5 ビュー (過去 30 日間)
상준 안
상준 안 2021 年 6 月 17 日
コメント済み: Star Strider 2021 年 6 月 18 日
Hello, I tried alot with the code you can see in the picture. But it doesn`t work. I want to know if Matlab dosen`t support the function of tf2ss or I just have a mistake.
[code]
num = [0 0 0 5];
den = [1 6 5 0];
[A, B, C, D] = tf2ss(num,den)
[Error message]
Execution of script tf2ss as a function is not supported:
Error in tf2ss (line 6)
[A, B, C, D] = tf2ss(num,den)
Thank you for reading my question and if you know the answer, please leave a comment :)

採用された回答

Star Strider
Star Strider 2021 年 6 月 17 日
Apparently you named a script ‘tf2ss’. This overshadows the tf2ss function.
The solution is to re-name the script to something that is meaningful and that does not overshadow MATLAB functions.
  6 件のコメント
상준 안
상준 안 2021 年 6 月 18 日
Thank u so much :)
Star Strider
Star Strider 2021 年 6 月 18 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by