MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today
Asked by john on 10 Jul 2013

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?

*No products are associated with this question.*

## 3 Comments

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/81693#comment_160490

Can anybody help me? please

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/81693#comment_160636

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.

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/81693#comment_160882

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.