MATLAB: How can i solve nonliner equation

equationfsolvehow can i solve nonliner equation?MATLABnonlinearraphson

I tryed to find roots of nonliner equation by use all posible codes: fsolve, fzero, fixed pointes, raphson method.
Equation is: x^2-x+1.
Help me.

Best Answer

look at documentation on the "roots" function, (ie type help roots).