Laplace Transform of a Function over a specified interval.
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Khaled Mohamed
il 7 Feb 2020
Modificato: Walter Roberson
il 7 Feb 2020
I want to find the laplace transform of a function. for example cos(t) but with a condition such that 0<t<4.
1 Commento
Vladimir Sovkov
il 7 Feb 2020
You mean, you want something like
? Then, just estimate it as the integral, either numerically (function "integral") or symbolically (function "int"). The other way is to define your function as the symbolic piece-wise one (equal to what you want within [0,4] and zero outside) and use the function "laplace".
Risposta accettata
Walter Roberson
il 7 Feb 2020
Modificato: Walter Roberson
il 7 Feb 2020
syms t
lowerbound = 0; upperbound = 4;
F = heaviside(t-lowerbound) * heaviside(upperbound-t) * cos(t)
laplace(F)
The boundary conditions might not be exactly what you want so you might need to toss in some dirac()
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Calculus in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!