How can I change the format of the answer?

3 Ansichten (letzte 30 Tage)
Postit123
Postit123 am 23 Nov. 2020
Kommentiert: Star Strider am 23 Nov. 2020
I got the output of the inverse laplace like below.
How can I change this into the equation with the calculated values?
dphi_t =
(18231298392664843931137914740085*symsum(exp(t*root(s3^4 + (7222590806255583*s3^2)/1180591620717411303424 + 2261458668024229/309485009821345068724781056, s3, k))/(524288*(2361183241434822606848*root(s3^4 + (7222590806255583*s3^2)/1180591620717411303424 + 2261458668024229/309485009821345068724781056, s3, k)^3 + 7222590806255583*root(s3^4 + (7222590806255583*s3^2)/1180591620717411303424 + 2261458668024229/309485009821345068724781056, s3, k))), k, 1, 4))/288230376151711744 + 38685626227668131840*symsum((exp(root(s3^4 + (7222590806255583*s3^2)/1180591620717411303424 + 2261458668024229/309485009821345068724781056, s3, k)*t)*root(s3^4 + (7222590806255583*s3^2)/1180591620717411303424 + 2261458668024229/309485009821345068724781056, s3, k))/(524288*(2361183241434822606848*root(s3^4 + (7222590806255583*s3^2)/1180591620717411303424 + 2261458668024229/309485009821345068724781056, s3, k)^2 + 7222590806255583)), k, 1, 4)

Akzeptierte Antwort

Star Strider
Star Strider am 23 Nov. 2020
Bearbeitet: Star Strider am 23 Nov. 2020
I am not certain what you want.
Try the vpa funciton:
dphi = vpa(dphi, 5)
producing:
dphi =
(1.25e-7*s^2 + 2.0438e-13)/(s^4 + 6.1178e-6*s^2 + 7.3072e-12)
also:
ltx = latex(dphi)
produces:
or with a bit of editing:
  2 Kommentare
Postit123
Postit123 am 23 Nov. 2020
Thank you! This is exactly what I want :)
Star Strider
Star Strider am 23 Nov. 2020
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by