Tf Function keeps running
Show older comments
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 Comments
Sam Chak
on 10 Apr 2022
Can you show the code for troubleshooting purposes?
Alessandro Romeo
on 10 Apr 2022
Sam Chak
on 10 Apr 2022
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
on 10 Apr 2022
Sam Chak
on 10 Apr 2022
Try clear everything and see if the problem persists.
clear all
Alessandro Romeo
on 10 Apr 2022
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!