Find the laplace transform of the piece wise function
Mostra commenti meno recenti
This isn't necessarily a matlab question but, I have to find the laplace transform of
f(t) { 0 when t <pi
t-pi when pi<=t<2pi
0 when t >= 2pi
Risposte (2)
Walter Roberson
il 5 Ago 2015
0 voti
2 Commenti
Sam
il 5 Ago 2015
Walter Roberson
il 5 Ago 2015
evalin(symengine, 'laplace(piecewise([t < Pi, 0], [Pi <= t, t-Pi], [t < 2*Pi, 0]),t,s)')
Torsten
il 5 Ago 2015
0 voti
L(s)=int_{t=pi}^{t=2*pi}(t-pi)*exp(-s*t) dt
For comparison:
You should be able to evaluate this integral.
Best wishes
Torsten.
2 Commenti
Walter Roberson
il 5 Ago 2015
This does not appear to have taken into account the piecewise nature of the function ? The result I find using a different package is exp(-Pi*s)/s^2
Torsten
il 5 Ago 2015
I get the same result when taking the Laplace transform directly:
Best wishes
Torsten.
Categorie
Scopri di più su Solver Outputs and Iterative Display in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!