I have a transfer function with very large coeficient, how to reduce it to a readable tf form?

15 次查看(过去 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?

采纳的回答

Awais Saeed
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)
ans = 
  3 个评论
Awais Saeed
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 CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by