im constantly getting this error in my matlab code can someone expalin what i should do or how it should be

2 vues (au cours des 30 derniers jours)
  • Variable q4 must be of data type sym. It is currently of type symfun. Check where the variable is assigned a value.
syms x y
g(x,y)=x*y/(x^2+y^2);
fyxx=diff(diff(diff(g,y),x),x);
point=[1.2,3.8];
q4=subs(fyxx,{x,y},point);
  1 commentaire
lateef
lateef le 14 Mar 2024
The original question is assign g(x,y)=xy/x^2+y^2 and calculate Fyxx(1.2,3.8) (triple derivative!) and assign the result to q4.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 14 Mar 2024
q4 = subs(fyxx(x, y), [x,y], point);

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by