How do I represent this sym function as a written formula

5 views (last 30 days)
My code is the following:
clc
clear all
close all
syms s
f = ilaplace(1/((s+7)*(s^3+4*s^2+6*s+5)));
The f that I obtain is the follwing:
symsum((exp(t*root(z^3 + 4*z^2 + 6*z + 5, z, k))*root(z^3 + 4*z^2 + 6*z + 5, z, k)^2)/(3*root(z^3 + 4*z^2 + 6*z + 5, z, k)^2 + 8*root(z^3 + 4*z^2 + 6*z + 5, z, k) + 6), k, 1, 3)/184 - (3*symsum((exp(root(z^3 + 4*z^2 + 6*z + 5, z, k)*t)*root(z^3 + 4*z^2 + 6*z + 5, z, k))/(8*root(z^3 + 4*z^2 + 6*z + 5, z, k) + 3*root(z^3 + 4*z^2 + 6*z + 5, z, k)^2 + 6), k, 1, 3))/184 - exp(-7*t)/184 + (27*symsum(exp(t*root(z^3 + 4*z^2 + 6*z + 5, z, k))/(3*root(z^3 + 4*z^2 + 6*z + 5, z, k)^2 + 8*root(z^3 + 4*z^2 + 6*z + 5, z, k) + 6), k, 1, 3))/184
How can I see it as a normal written formula?
Thanks in advance.

Answers (1)

Torsten
Torsten on 27 Jan 2023
Edited: Torsten on 27 Jan 2023
syms s
f = vpa(ilaplace(1/((s+7)*(s^3+4*s^2+6*s+5))),4)
f = 

Products

Community Treasure Hunt

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

Start Hunting!