How to write diff (exp(x.*log(x))) on MATLAB command window?

조회 수: 6 (최근 30일)
Matthew Worker
Matthew Worker 2021년 8월 25일
편집: KSSV 2021년 8월 25일
I am trying to compute the derivative using the command diff:
syms x
diff (exp(x.*log(x)))
Error using sym/subsindex (line 853)
Invalid indexing or function definition. Indexing must follow MATLAB indexing. Function arguments must be symbolic
variables, and function body must be sym expression.
Error in sym/subsref (line 898)
R_tilde = builtin('subsref',L_tilde,Idx);
  댓글 수: 4
N/A
N/A 2021년 8월 25일
Thank you. I wil check again.
N/A
N/A 2021년 8월 25일
I guess so. It worked once I cleared my workspace. Thank you

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by