Tf Function keeps running
显示 更早的评论
Hello, I've a problem with the use of the tf function. Basically i try to build a tf function using ( s = tf('s') ) and then writing my function. It works only with few poles and zeros (it seems just a total of 4), but when i try to write a function with more poles and zeros, and then i try to run it, it just keeps running. Any solution to this problem?
6 个评论
Sam Chak
2022-4-10
Can you show the code for troubleshooting purposes?
Alessandro Romeo
2022-4-10
Sam Chak
2022-4-10
Is this result expected?
g =
100 s^2 + 500 s - 5000
------------------------------------
s^5 + 4 s^4 - 36 s^3 - 37 s^2 - 40 s
Continuous-time transfer function.
Alessandro Romeo
2022-4-10
Sam Chak
2022-4-10
Try clear everything and see if the problem persists.
clear all
Alessandro Romeo
2022-4-10
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!