I have a transfer function with very large coeficient, how to reduce it to a readable tf form?
조회 수: 18 (최근 30일)
이전 댓글 표시
TF =
(579897794885098601073766651512401860000/(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253) + (9671406556917033397649408000000000*(1501*s + 100000))/(1501*(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253)))*(8698466923276477988440375296000/(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253) + (87042659012253300578844672*(1501*s + 100000))/(1501*(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253))) - (2901421967075110019294822400000*(1501*s + 100000))/(1501*(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253)) + (193299264961699518184308080640000*(1501*s + 100000)*(173969338465529586157086572544/(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253) - (3298534883328000*(2199023255552*s + 1553917832370967))/(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253)))/(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253)
how to reduce it to a readable by using equivalent decimal coefficient?
댓글 수: 0
채택된 답변
Awais Saeed
2021년 12월 8일
Try using simplify()
syms s
TF =(579897794885098601073766651512401860000/(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253) + (9671406556917033397649408000000000*(1501*s + 100000))/(1501*(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253)))*(8698466923276477988440375296000/(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253) + (87042659012253300578844672*(1501*s + 100000))/(1501*(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253))) - (2901421967075110019294822400000*(1501*s + 100000))/(1501*(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253)) + (193299264961699518184308080640000*(1501*s + 100000)*(173969338465529586157086572544/(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253) - (3298534883328000*(2199023255552*s + 1553917832370967))/(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253)))/(7258390620966233564935880704*s^2 + 5612639605197518675705314934784*s + 17738643991613027535246891426332253);
simplify(TF)
댓글 수: 3
Awais Saeed
2021년 12월 8일
I am not sure why you are getting a different answer. I am getting the same answer on Live editor and on my desktop MATLAB as well.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!