Jacobian function not found

3 次查看(过去 30 天)
Jean
Jean 2011-10-10
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

采纳的回答

Wayne King
Wayne King 2011-10-10
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 个评论
Walter Roberson
Walter Roberson 2011-12-5
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 2011-12-5
got it :) Thanks!

请先登录,再进行评论。

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by