For Programmers: Free Programming Magazines  


Home > Archive > Matlab > January 2008 > Inverse Laplace returns hyperbolic trig functions









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Inverse Laplace returns hyperbolic trig functions
Matthew

2008-01-30, 8:20 pm

I am taking the inverse Laplace as shown below. Why does
it return the answer using hyperbolic sine & cosine
functions? Is there a way I can get Matlab to return the
answer using the exp function?

syms X s
X=3/((s^2)-(4*s)+4)/(s+2)
ilaplace(X)

Matt Ridzon
vijaykumar.krithivasan@gmail.com

2008-01-30, 8:20 pm

On Jan 30, 11:50 am, "Matthew " <m_rid...@hotmail.com> wrote:
> I am taking the inverse Laplace as shown below. Why does
> it return the answer using hyperbolic sine & cosine
> functions? Is there a way I can get Matlab to return the
> answer using the exp function?
>
> syms X s
> X=3/((s^2)-(4*s)+4)/(s+2)
> ilaplace(X)
>
> Matt Ridzon


Matt:

This is what I tired: and the results where in exponential form:
[color=darkred]
X=3/((s^2)-(4*s)+4)/(s+2)
ilaplace(X)

X =

3/(s^2-4*s+4)/(s+2)



ans =

3/16*exp(-2*t)+(3/4*t-3/16)*exp(2*t)
Matthew

2008-01-31, 8:28 pm

vijaykumar.krithivasan,

It doesn't work for me and I'm not sure why. My answer
returns in hyperbolic trig functions. Do you know of a
setting that needs changed in Matlab to make the answers
return in exp form?

Matt Ridzon

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com