Find the laplace transform of the piece wise function
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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
0 comentarios
Respuestas (2)
Walter Roberson
el 5 de Ag. de 2015
2 comentarios
Walter Roberson
el 5 de Ag. de 2015
evalin(symengine, 'laplace(piecewise([t < Pi, 0], [Pi <= t, t-Pi], [t < 2*Pi, 0]),t,s)')
Torsten
el 5 de Ag. de 2015
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 comentarios
Walter Roberson
el 5 de Ag. de 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
el 5 de Ag. de 2015
I get the same result when taking the Laplace transform directly:
Best wishes
Torsten.
Ver también
Categorías
Más información sobre Mathematics and Optimization en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!