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

18 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

Awais Saeed
Awais Saeed am 8 Dez. 2021
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 Kommentare
SAMUDRA PANDA
SAMUDRA PANDA am 8 Dez. 2021
Are your answer and my answer same?, i mean have u used any type of divison or somthing?
Awais Saeed
Awais Saeed am 8 Dez. 2021
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by