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:
problem with finverse in matlab2008

Subject: problem with finverse in matlab2008

From: george veropoulos

Date: 1 Aug, 2013 08:36:09

Message: 1 of 5

Dear friends

i run the following code in matlab 2008a (7.6.0)
syms x
f(x) = 1/tan(x);
g = finverse(f)

and i have the following message


??? Undefined function or method 'syms' for input arguments of type 'char'.

Error in ==> test1 at 1
syms x

what happened
thnak you
george

Subject: problem with finverse in matlab2008

From: Loren Shure

Date: 1 Aug, 2013 12:35:22

Message: 2 of 5


"george veropoulos" <veropgr@yahoo.gr> wrote in message
news:ktd6lp$mvu$1@newscl01ah.mathworks.com...
> Dear friends
>
> i run the following code in matlab 2008a (7.6.0)
> syms x
> f(x) = 1/tan(x);
> g = finverse(f)
>
> and i have the following message
>
>
> ??? Undefined function or method 'syms' for input arguments of type
> 'char'.
>
> Error in ==> test1 at 1
> syms x
>
> what happened thnak you
> george


symfuns, such as f(x), didn't get introduced until R2013a, I believe

--
--Loren

http://blogs.mathworks.com/loren

Subject: problem with finverse in matlab2008

From: Steven_Lord

Date: 1 Aug, 2013 13:51:11

Message: 3 of 5



"Loren Shure" <Loren.Shure@mathworks.com> wrote in message
news:ktdkma$odo$1@newscl01ah.mathworks.com...
>
> "george veropoulos" <veropgr@yahoo.gr> wrote in message
> news:ktd6lp$mvu$1@newscl01ah.mathworks.com...
>> Dear friends
>>
>> i run the following code in matlab 2008a (7.6.0)
>> syms x
>> f(x) = 1/tan(x);
>> g = finverse(f)
>>
>> and i have the following message
>>
>>
>> ??? Undefined function or method 'syms' for input arguments of type
>> 'char'.
>>
>> Error in ==> test1 at 1
>> syms x
>>
>> what happened thnak you
>> george
>
>
> symfuns, such as f(x), didn't get introduced until R2013a, I believe

George,

You don't even reach the symfuns line but if you did you would encounter the
problem Loren mentioned.

The problem that caused this error is that you don't have Symbolic Math
Toolbox in your installation or that it was not installed correctly. Check
the information displayed by the VER function; if it doesn't show Symbolic
Math Toolbox, you will not be able to use SYMS or perform symbolic
calculations.

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Subject: problem with finverse in matlab2008

From: george veropoulos

Date: 1 Aug, 2013 14:50:21

Message: 4 of 5

thank you
i run ver and i have isntalled the Symbolic Math
> Toolbox

Symbolic Math Toolbox Version 3.2.3 (R2008a)

how i get the inverse function?
i must define the f(x) as a external function

thank you in advance

"Steven_Lord" <slord@mathworks.com> wrote in message <ktdp4f$7vs$1@newscl01ah.mathworks.com>...
>
>
> "Loren Shure" <Loren.Shure@mathworks.com> wrote in message
> news:ktdkma$odo$1@newscl01ah.mathworks.com...
> >
> > "george veropoulos" <veropgr@yahoo.gr> wrote in message
> > news:ktd6lp$mvu$1@newscl01ah.mathworks.com...
> >> Dear friends
> >>
> >> i run the following code in matlab 2008a (7.6.0)
> >> syms x
> >> f(x) = 1/tan(x);
> >> g = finverse(f)
> >>
> >> and i have the following message
> >>
> >>
> >> ??? Undefined function or method 'syms' for input arguments of type
> >> 'char'.
> >>
> >> Error in ==> test1 at 1
> >> syms x
> >>
> >> what happened thnak you
> >> george
> >
> >
> > symfuns, such as f(x), didn't get introduced until R2013a, I believe
>
> George,
>
> You don't even reach the symfuns line but if you did you would encounter the
> problem Loren mentioned.
>
> The problem that caused this error is that you don't have Symbolic Math
> Toolbox in your installation or that it was not installed correctly. Check
> the information displayed by the VER function; if it doesn't show Symbolic
> Math Toolbox, you will not be able to use SYMS or perform symbolic
> calculations.
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com

Subject: problem with finverse in matlab2008

From: Steven_Lord

Date: 1 Aug, 2013 16:53:16

Message: 5 of 5



"george veropoulos" <veropgr@yahoo.gr> wrote in message
news:ktdsjd$hum$1@newscl01ah.mathworks.com...
> thank you
> i run ver and i have isntalled the Symbolic Math
>> Toolbox
>
> Symbolic Math Toolbox Version 3.2.3
> (R2008a)
>
> how i get the inverse function?
> i must define the f(x) as a external function
>
> thank you in advance

If you had Symbolic Math Toolbox installed correctly and had a license
available for it, the command "syms x" would have worked. What does this
command show?

    which -all syms

If that indicates that "syms not found" then it's possible the toolbox was
removed from your path or was not installed correctly. If you're using an
installation maintained by your company or educational institution, ask them
to help repair the path and/or the installation.

If it indicates that SYMS is found but is not licensed, again check with
your company or educational institution to see if all the licenses were
checked out when you tried to use it.

If it does something else, you're probably going to need to talk to the
maintainer of your license and/or Technical Support to diagnose what's going
on.

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

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