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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!