Got Questions? Get Answers.
Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
USING ILAPLACE

Subject: USING ILAPLACE

From: Gaurav Khire

Date: 18 Apr, 2012 10:06:08

Message: 1 of 3

Hi guys, I'm new to matlab and need help.

I have a laplace function as follows:

F(s) = (1 + 4exp(-s) - 5exp(-3s)) / (s(s^2 + 11s + 55))

How would I find the inverse laplace?

I've solved this by hand and want to check my answer.

Thanks

Subject: USING ILAPLACE

From: Nasser M. Abbasi

Date: 18 Apr, 2012 10:22:31

Message: 2 of 3

On 4/18/2012 5:06 AM, Gaurav Khire wrote:
> Hi guys, I'm new to matlab and need help.
>
> I have a laplace function as follows:
>
> F(s) = (1 + 4exp(-s) - 5exp(-3s)) / (s(s^2 + 11s + 55))
>
> How would I find the inverse laplace?
>
> I've solved this by hand and want to check my answer.
>
> Thanks


EDU>> syms s t
F = (1 + 4*exp(-s) - 5*exp(-3*s)) / (s*(s^2 + 11*s + 55));
EDU>> ilaplace(F,s,t)
  
ans =
  
5*heaviside(t - 3)*((exp(33/2 - (11*t)/2)*(cos((3*11^(1/2)*(t - 3))/2) +
(11^(1/2)*sin((3*11^(1/2)*(t - 3))/2))/3))/55 - 1/55) -
4*heaviside(t - 1)*((exp(11/2 - (11*t)/2)*(cos((3*11^(1/2)*(t - 1))/2) +
(11^(1/2)*sin((3*11^(1/2)*(t - 1))/2))/3))/55 - 1/55) -
(exp(-(11*t)/2)*(cos((3*11^(1/2)*t)/2) + (11^(1/2)*sin((3*11^(1/2)*t)/2))/3))/55 + 1/55
  

--Nasser

Subject: USING ILAPLACE

From: Sarah Coleman

Date: 18 Apr, 2012 11:17:06

Message: 3 of 3

Thank you Nasser


"Nasser M. Abbasi" <nma@12000.org> wrote in message <jmm4l6$8m1$2@speranza.aioe.org>...
> On 4/18/2012 5:06 AM, Gaurav Khire wrote:
> > Hi guys, I'm new to matlab and need help.
> >
> > I have a laplace function as follows:
> >
> > F(s) = (1 + 4exp(-s) - 5exp(-3s)) / (s(s^2 + 11s + 55))
> >
> > How would I find the inverse laplace?
> >
> > I've solved this by hand and want to check my answer.
> >
> > Thanks
>
>
> EDU>> syms s t
> F = (1 + 4*exp(-s) - 5*exp(-3*s)) / (s*(s^2 + 11*s + 55));
> EDU>> ilaplace(F,s,t)
>
> ans =
>
> 5*heaviside(t - 3)*((exp(33/2 - (11*t)/2)*(cos((3*11^(1/2)*(t - 3))/2) +
> (11^(1/2)*sin((3*11^(1/2)*(t - 3))/2))/3))/55 - 1/55) -
> 4*heaviside(t - 1)*((exp(11/2 - (11*t)/2)*(cos((3*11^(1/2)*(t - 1))/2) +
> (11^(1/2)*sin((3*11^(1/2)*(t - 1))/2))/3))/55 - 1/55) -
> (exp(-(11*t)/2)*(cos((3*11^(1/2)*t)/2) + (11^(1/2)*sin((3*11^(1/2)*t)/2))/3))/55 + 1/55
>
>
> --Nasser

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us