How to plot result of inverse laplace transformation ?

9 visualizzazioni (ultimi 30 giorni)
john
john il 10 Lug 2013
Risposto: Arabella Bowers il 17 Gen 2016
Hi,
how can I plot result of inverse Laplace transformation?
Example:
b=(s^2-2*s+4);
c=ilaplace(b)
t=0:10;
Than I get:
c = 4*dirac(t) - 2*dirac(t, 1) + dirac(t, 2)
but how can I plot result of ilaplace for t=0:10?
I know about
ezplot(matlabFunction(h), [1,1000])
but it doesn't work.
Thank you for help
No ideas?
  3 Commenti
nl2605
nl2605 il 19 Lug 2013
Hey..
When you say you want to plot the inverse laplace transform don't you actually mean the impulse response of the system? Because then you might as well plot the impulse response using impulseplot function. But then you also need to define the system. Just asking because I am working on a similar topic.
john
john il 22 Lug 2013
Hi, I want just plot my above example for any time interval...I hope it is answer for your question. :-). But I dont know how.

Accedi per commentare.

Risposte (2)

Vipin Sharma
Vipin Sharma il 3 Set 2014
Inverse laplace transform plot of a transfer function, F, is equal to impulse response of the transfer function, F. You could simply do, impulseplot(F). Note that F is 'tf' type and 'sym' type.

Arabella Bowers
Arabella Bowers il 17 Gen 2016
ezplot(matlabFunction(ans), [1,1000])

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by