How to Plot Inverse Laplace with Heaviside?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Anthony Aquino
le 14 Nov 2023
Réponse apportée : Star Strider
le 14 Nov 2023
Hello. I want to plot an inverse laplace transform using simple MATLAB functions however, I get an error message when I try to. Does this have to do with the heaviside functions? The equation is provided below:
clc
syms s t
Q = 10/(s*(s^2+100*s+1600))-10*exp(-3*s)/(s*(s^2+100*s+1600));
pretty(Q)
q = ilaplace(Q);
pretty(q)
plot(t,q)
0 commentaires
Réponse acceptée
Star Strider
le 14 Nov 2023
clc
syms s t
Q = 10/(s*(s^2+100*s+1600))-10*exp(-3*s)/(s*(s^2+100*s+1600));
pretty(Q)
q = ilaplace(Q)
pretty(q)
figure
fplot(q, [0 5])
grid
xlabel('t')
ylabel('q(t)')
axis('padded')
.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Mathematical Functions 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!