File Exchange

image thumbnail

NEWTON RAPHSON

version 1.0.0.0 (1.66 KB) by Sandeep Solanki
Newton-raphson method to find root of an equation.

1 Download

Updated 11 Jun 2012

View License

Newton-raphson method or Successive Approximation method to find root of an equation.
Just enter the equation and the starting point as input and function will give you the exact root of the equation.

Cite As

Sandeep Solanki (2020). NEWTON RAPHSON (https://www.mathworks.com/matlabcentral/fileexchange/37090-newton-raphson), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Lefteris

I get the following msg at line 40

Eqn_Str = 'x^4 - x - 10'

X = newtonraphson(Eqn_Str,0)
Error using inline (line 47)
Input must be a string.
Error in newtonraphson (line 40)
fxd = inline(diff(Eqn_Str));

Is this code really working?

Lefteris K.

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux