Hello,
Can someone help me to see what is wrong with my jacobian?
I reviewed it several time byt matlab still says there is a syntax error.
Additionally, why jacobian(f,x) does not work?
f=@(x) [3*x(1) - cos(x(2)*x(3)) - 3/2; 4*x(1)^2 - 625*x(2)^2 + 2*x(3) - 1; 20*x(3)^3 + exp(-1*(x(1)*x(2))) + 9]J=@(x) [3, -1*(x(3)*cos(x(2)*x(3))), -1*(x(2)*cos(x(2)*x(3))); 8*x(1) , 1250*x(2), 2; -1*(x(2)exp(-x(1)*x(2))), -1*(x(1)exp(-x(1)*x(2))), 20]
Best Answer