Jacobian function not found

조회 수: 5 (최근 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