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!