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

2 vues (au cours des 30 derniers jours)
Matthew Worker
Matthew Worker le 25 Août 2021
Modifié(e) : KSSV le 25 Août 2021
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 commentaires
N/A
N/A le 25 Août 2021
Thank you. I wil check again.
N/A
N/A le 25 Août 2021
I guess so. It worked once I cleared my workspace. Thank you

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Function Creation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by