From: Anabel on
Hi guys,

I am trying to perform a very simple inverse laplace;
>> syms s
>> f = 1/s;
>> f

Transfer function:
1
-
s

>> ilaplace(f)

and i am getting this error: _ ??? Undefined function or method 'ilaplace' for input arguments of type 'tf'.

when then tring to do the laplace of another function; i get this error
>> syms a unreal
t = 0:0.1:10;
y = exp(-a*t);a = 0.25 + j*2*pi;
plot3(t,real(y), imag(y))
grid
>> laplace(y)
??? Undefined function or method 'laplace' for input arguments of type 'double'.

Can anyone please help me out? Thanks beforehand.

A
From: Wayne King on
"Anabel " <anabelbonello(a)hotmail.com> wrote in message <hl64p2$iip$1(a)fred.mathworks.com>...
> Hi guys,
>
> I am trying to perform a very simple inverse laplace;
> >> syms s
> >> f = 1/s;
> >> f
>
> Transfer function:
> 1
> -
> s
>
> >> ilaplace(f)
>
> and i am getting this error: _ ??? Undefined function or method 'ilaplace' for input arguments of type 'tf'.
>
> when then tring to do the laplace of another function; i get this error
> >> syms a unreal
> t = 0:0.1:10;
> y = exp(-a*t);a = 0.25 + j*2*pi;
> plot3(t,real(y), imag(y))
> grid
> >> laplace(y)
> ??? Undefined function or method 'laplace' for input arguments of type 'double'.
>
> Can anyone please help me out? Thanks beforehand.
>

Hi Anabel
Do you have the Symbolic Toolbox installed? if you type

>>ver

at the command prompt, do you find an entry for the Symbolic Toolbox?

Wayne
From: Anabel on
HI wayne,

yes there is Symbolic Math Toolbox Version 3.2.2 (R2007b)...dont know what s wrong:S

thanks loads
A




"Wayne King" <wmkingty(a)gmail.com> wrote in message <hl66r4$sha$1(a)fred.mathworks.com>...
> "Anabel " <anabelbonello(a)hotmail.com> wrote in message <hl64p2$iip$1(a)fred.mathworks.com>...
> > Hi guys,
> >
> > I am trying to perform a very simple inverse laplace;
> > >> syms s
> > >> f = 1/s;
> > >> f
> >
> > Transfer function:
> > 1
> > -
> > s
> >
> > >> ilaplace(f)
> >
> > and i am getting this error: _ ??? Undefined function or method 'ilaplace' for input arguments of type 'tf'.
> >
> > when then tring to do the laplace of another function; i get this error
> > >> syms a unreal
> > t = 0:0.1:10;
> > y = exp(-a*t);a = 0.25 + j*2*pi;
> > plot3(t,real(y), imag(y))
> > grid
> > >> laplace(y)
> > ??? Undefined function or method 'laplace' for input arguments of type 'double'.
> >
> > Can anyone please help me out? Thanks beforehand.
> >
>
> Hi Anabel
> Do you have the Symbolic Toolbox installed? if you type
>
> >>ver
>
> at the command prompt, do you find an entry for the Symbolic Toolbox?
>
> Wayne
From: Wayne King on
"Anabel " <anabelbonello(a)hotmail.com> wrote in message <hl67j1$gbk$1(a)fred.mathworks.com>...
> HI wayne,
>
> yes there is Symbolic Math Toolbox Version 3.2.2 (R2007b)...dont know what s wrong:S
>
> thanks loads
> A
>
>
>
>
> "Wayne King" <wmkingty(a)gmail.com> wrote in message <hl66r4$sha$1(a)fred.mathworks.com>...
> > "Anabel " <anabelbonello(a)hotmail.com> wrote in message <hl64p2$iip$1(a)fred.mathworks.com>...
> > > Hi guys,
> > >
> > > I am trying to perform a very simple inverse laplace;
> > > >> syms s
> > > >> f = 1/s;
> > > >> f
> > >
> > > Transfer function:
> > > 1
> > > -
> > > s
> > >
> > > >> ilaplace(f)
> > >
> > > and i am getting this error: _ ??? Undefined function or method 'ilaplace' for input arguments of type 'tf'.
> > >
> > > when then tring to do the laplace of another function; i get this error
> > > >> syms a unreal
> > > t = 0:0.1:10;
> > > y = exp(-a*t);a = 0.25 + j*2*pi;
> > > plot3(t,real(y), imag(y))
> > > grid
> > > >> laplace(y)
> > > ??? Undefined function or method 'laplace' for input arguments of type 'double'.
> > >
> > > Can anyone please help me out? Thanks beforehand.
> > >
> >
> > Hi Anabel
> > Do you have the Symbolic Toolbox installed? if you type
> >
> > >>ver
> >
> > at the command prompt, do you find an entry for the Symbolic Toolbox?
> >
> > Wayne

Hi Anabel,

If you type

syms s
f = 1/s;
class(f)
% do you get sym for the class?
% Then
F = ilaplace(f);
% should return 1

You should be able to copy and paste the above.
Wayne
From: Anabel on

Hi,

Thanks loads for the help:) really appreciated it:)

gd day.

A


"Anabel " <anabelbonello(a)hotmail.com> wrote in message <hl64p2$iip$1(a)fred.mathworks.com>...
> Hi guys,
>
> I am trying to perform a very simple inverse laplace;
> >> syms s
> >> f = 1/s;
> >> f
>
> Transfer function:
> 1
> -
> s
>
> >> ilaplace(f)
>
> and i am getting this error: _ ??? Undefined function or method 'ilaplace' for input arguments of type 'tf'.
>
> when then tring to do the laplace of another function; i get this error
> >> syms a unreal
> t = 0:0.1:10;
> y = exp(-a*t);a = 0.25 + j*2*pi;
> plot3(t,real(y), imag(y))
> grid
> >> laplace(y)
> ??? Undefined function or method 'laplace' for input arguments of type 'double'.
>
> Can anyone please help me out? Thanks beforehand.
>
> A