From: Anabel on 13 Feb 2010 07:09 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 13 Feb 2010 07:44 "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 13 Feb 2010 07:57 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 13 Feb 2010 08:15 "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 13 Feb 2010 08:28 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
|
Pages: 1 Prev: Angle Recovery in Fourier Mellin Image Registration Next: nurbs |