Solving Nonlinear Equation(s) in MATLAB
chemeng.queensu.ca › courses › CHEE2223. MATLAB function FZERO fzero can be used to solve a single variable nonlinear equation of the form f(x) = 0. The equation must first be programmed as a function (either inline or m-file). 3.1 Using FZERO for a function defined by inline command The following command solves the equation y = f(x) = x3 - 5x2-x +2 ;, starting from an