Unreadable symbolic inverse laplace transform

1 view (last 30 days)
Hello everyone,
I'm getting the following result for a symbolic inverse laplace transform
"(711344669619271385108677997103153152*t)/19855104341381688015232901419831875 + (23145487684601666312378931473530174051891986563072*exp(-(6247229824357887*t)/8589934592)*(cosh((39021524208353083519306687206401^(1/2)*t)/8589934592) + (39024702343349879587739273155585*39021524208353083519306687206401^(1/2)*sinh((39021524208353083519306687206401^(1/2)*t)/8589934592))/243776429826326669518530476119941683267661234687))/38260745576058189100052101743648185127289818163125 - 23145487684601666312378931473530174051891986563072/38260745576058189100052101743648185127289818163125 "
I have those fractions of inmense numbeers being divided. I could do the divison manually, but I need lots of this results and that would be a problem. Is there a way to take this a readable form? Some way to tell matlab not to show the fractions, but to do the division and round off
Thanks
  1 Comment
Miguel Perez Andrade
Miguel Perez Andrade on 18 Jun 2018
Thanks Aquatris and Star Strider! Both of your solutions worked. Unluckily Matlab doesen't allow me to mark both answers as accepted.

Sign in to comment.

Accepted Answer

Aquatris
Aquatris on 13 Jun 2018
Edited: Aquatris on 13 Jun 2018
It might help to provide the code so that someone can give a simple fix.
A simple fix for demonstration purposes would be to use
vpa(expression,2)
However, this might give slight errors if you were to evaluate it.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!