function F=fxyz(X) x=X(1); y=X(2);z=X(3);F(1)=x+y+z;F(2)=3*x+5*y+6*z;F(3)=x-3*y-6*z-1;end[B(1,2),C(1,3),D(1,1)]=fsolve('fxyz',[-1,1,-1])Assignment has more non-singleton rhs dimensions than non-singleton subscripts
MATLAB: How to save outputs of a function to different matrixs
MATLAB and Simulink Student Suiteoutput
Best Answer