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

2 Ansichten (letzte 30 Tage)
  • 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 Kommentar
lateef
lateef am 14 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 14 Mär. 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