How do I represent this sym function as a written formula
Afficher commentaires plus anciens
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.
Réponses (1)
syms s
f = vpa(ilaplace(1/((s+7)*(s^3+4*s^2+6*s+5))),4)
Catégories
En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
