
how to write a complex transfer function
27 ビュー (過去 30 日間)
古いコメントを表示
how should i write followinG transfer function (tf) in the form of nuemrator and denominator in MATAB
-10.45 s^3 - 10.53 s^2 - 0.2246s
-----------------------------------------
s^2 + 1.2116 s - 0.1087 - 0.0909i
following is not working as it returns S^3 in the denominator, but i need s^2 in denominator :
numerator = [-10.45 -10.53 -.2246 0];
denominator = [0 1 1.2116 -.1087 -.0909j];
sys = tf(numerator,denominator);
0 件のコメント
採用された回答
Sam Chak
2024 年 2 月 20 日
Ensure no space in
.

numerator = [-10.45 -10.53 -.2246 0];
denominator = [0 1 1.2116 -.1087-.0909j];
sys = tf(numerator, denominator)
2 件のコメント
Paul
2024 年 2 月 20 日
Or use commas to separate the array elements, then no need to worry about spacing
numerator = [-10.45 , -10.53 , -.2246 0];
denominator = [0 , 1 , 1.2116 , -.1087 - .0909j];
sys = tf(numerator, denominator)
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!