Jacobian function not found

3 views (last 30 days)
Jean
Jean on 10 Oct 2011
Hello to all,
I have to use the "jacobian" function in Matlab. I have the Symbolic toolbox installed, but upon running jacobian(a, b), the prompt tells me :
??? Undefined function or variable 'jacobian'.
What should I do?
Best regards,
Jean

Accepted Answer

Wayne King
Wayne King on 10 Oct 2011
If you enter
>>ver
Do you see an entry for the Symbolic Toolbox?
If you enter:
license('test','symbolic_toolbox')
Do you get a 1 back? You may think you installed it, but perhaps something went wrong.
  8 Comments
Walter Roberson
Walter Roberson on 5 Dec 2011
jacobian is a method of the symbolic class, so you have to invoke it with a symbolic argument for it to be located.
For example,
jacobian(sym('x^2+3*x*y-y^3'))
Karen
Karen on 5 Dec 2011
got it :) Thanks!

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 10 Oct 2011
Which version are you using? I trace the function back at least as far as R14

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!