Find the laplace transform of the piece wise function
Ältere Kommentare anzeigen
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
Antworten (2)
Walter Roberson
am 5 Aug. 2015
0 Stimmen
2 Kommentare
Sam
am 5 Aug. 2015
Walter Roberson
am 5 Aug. 2015
evalin(symengine, 'laplace(piecewise([t < Pi, 0], [Pi <= t, t-Pi], [t < 2*Pi, 0]),t,s)')
Torsten
am 5 Aug. 2015
0 Stimmen
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 Kommentare
Walter Roberson
am 5 Aug. 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
am 5 Aug. 2015
I get the same result when taking the Laplace transform directly:
Best wishes
Torsten.
Kategorien
Mehr zu Solver Outputs and Iterative Display finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!