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

12 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by