Matlab, Excel, Engineering, Computing Education.
the linear equation 2x + 3y - z = 5 % using the backslash operator: [x, y, z] = [2, 3, -1] \ 5 % Solve the nonlinear equation (x^2 + y^2 - 1)^3 - x^2*y^3 = 0 % using the fsolve function: x0 = [0, 0]; % Initial guess for the solution fun = @(x) (x(1)^2 + x(2)^2 - 1)^3 - x(1)^2*x(2)^3; % Objective