4.10638

4.1 | 48 ratings Rate this file 961 downloads (last 30 days) File Size: 1.34 KB File ID: #4313

Newton-Raphson

by Keerthi venkateswara Rao

 

29 Dec 2003 (Updated 20 Jul 2007)

No BSD License  

Newton-Raphson method for all real roots of the polynomial.

Download Now | Watch this File

File Information
Description

This M-file calculates all the real roots of the given polynomial. It calls syn_division, a synthetic division function, and derivate, differentiation function.

MATLAB release MATLAB 5.3 (R11)
Zip File Content  
Other Files newton.m,
syn_division.m,
derivate.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (67)
07 Apr 2004 k.l narayana

kindly send me the newton raphson method for solving two variables as my project involves solving for two variables using newton-raphson method.

26 Apr 2004 haidas med

help me for newton raphson method in modelind the Insulat Gate bipolar Transistor
IGBT.

10 May 2004 belkharroubi mohamed

power system analysis
newton raphson method
programmation matlab

25 Sep 2004 Antony Chatu

do you by any chance have matlab codes to solve the following system of equations using newton raphson method, etc :

f(x,y) = x^2 - cosy = 0
g(x,y) = sinx + x^2 + y^3 = 0

please kindly forward us the codes if it is possible.

08 Nov 2004 said morjani

power system analysis

08 Nov 2004 said morjani

power system analysis
newton raphson method
programmation matlab

05 Dec 2004 senad hodzic

it's good

19 Feb 2005 Henry Osorio

Very good

08 Apr 2005 AIT MOUDID Lahcen

 It's good "coeff_function!"

15 Aug 2005 abooboo kong

cool very cool

17 Sep 2005 samir cosickic  
18 Nov 2005 Cosme Rafael Marcano-Gamero

It's very good

12 Dec 2005 Daniel C  
01 Mar 2006 sheikh tamjid mashrafi  
05 Mar 2006 liliana jaimes  
25 Mar 2006 liapunov popov  
04 Apr 2006 koko dzambo  
26 Apr 2006 ali dönmez

very good

27 Apr 2006 muhammed kýlýnç  
07 Jun 2006 mh oooo

that's good

26 Oct 2006 JULIAN YEPES

IT`S A GOOD TOOL IN THE ENGINEERING.

08 Nov 2006 augusto rodriguez

I need to learn more about matlab programing

02 Dec 2006 ahmed mostefa

pogramme de gausse sedeil de ecoullement de puissance de reseaux electrique

12 Jan 2007 levent simsek

I need examples!!
could you give any inputs as an example??
thenk you!

06 Feb 2007 Rosario Ortiz Munuera

I am studing mathematics and I would like to get the Newton-Raphson algorithm written in matlab, if it's possible.

07 Feb 2007 tzompantzi alejandro  
14 Feb 2007 Ricky Wong

To:levent simsek example:
newton ( [1 -6 8], 1, 0.01, 100)

ans =

   1.99999995353885 4.00000004646115

22 Feb 2007 youcef brik

thanks

23 Feb 2007 Hans Andrew

Very Useful in Power Flow Analysis, i hope i can have it. Thank you very much.

01 Mar 2007 jeua jea

good

03 Mar 2007 Haomin Zhang

Thank you for your work

15 Mar 2007 prithvi gopinath

great work.. thanks a lot. i need an example of m-r method in matlab to solve power system analysis problems.
thank you

19 Mar 2007 Eric Bowman

very helpful, thank you

11 Apr 2007 thamer hamad

thank you

22 Apr 2007 chiali lotfi

its butiful

02 May 2007 eeee weew

ewthays good

28 Jun 2007 Qu Suhan

very useful!

13 Jul 2007 ddt tio

goood code

07 Aug 2007 adrian pramanta  
08 Aug 2007 ooi heng

can u let me know how to use, when i simulate got error, URGENT!

19 Aug 2007 Sanjay Malakar  
08 Sep 2007 john kan  
15 Sep 2007 shiran jaya

hi every one .. plz help me to develop my matlab knowledge. also i am a beginner for
matlab and it is pleaser to me joining with you.
tanks .....

17 Sep 2007 Mihon Honda

Very interesting!! Your algorithm is clean and worthy!
Is there a reason why do you create a m file derivate? Can't u just use the polyder function? Or are there limitations?

25 Sep 2007 Jimmy Banker

it always say error

Error in ==> syn_division at 6
order_fun=size((coeff_function),2);

22 Jan 2008 enes yigitbas

good work. thanks a lot...

12 Feb 2008 Sohail iqbal

Works perfectly!

18 Feb 2008 tien quach  
15 Mar 2008 Yi Cao

find polynomial roots through polynomial evaluation is not numerically stable. For example, consider the polynomial which has roots at 1,2,3,4,5,6,7,8,9,10,11,12. The coefficients of this polynomial can be obtained by c=poly(1:12); then test this code:

newton(poly(1:12),1,1e-6,100)

It can only detect roots 1:9, not 10, 11, and 12.

MATLAB already has function, roots to find all roots of a polynomial. It calculates the eigenvalues of the companion matrix of the polynomial, hence is stable. Therefore, there is no any reason one should use this code.

21 Mar 2008 EDWIN MORENO

i need what is the method,

09 Apr 2008 Andoni Lizaso  
11 Apr 2008 mlago fateh

héros de berber

28 Apr 2008 nick whirsman  
29 Apr 2008 Jing Gao  
01 May 2008 Izzie Lee  
29 May 2008 svetlana sejas

gracias

13 Jun 2008 ivan ivic  
15 Aug 2008 raj roshan dhruw  
28 Aug 2008 yuan feng

a good way to solve equations

29 Aug 2008 derya sahin  
01 Sep 2008 raj roshan dhruw

good

01 Sep 2008 raj roshan dhruw

good

02 Sep 2008 jose luis  
05 Oct 2008 ek cha  
17 Nov 2008 Sushma Lanke  
17 Nov 2008 Sushma Lanke

do you by any chance have matlab codes to solve the following system of equations using newton raphson method, etc :
 
f(x) = 63X^5 - 70 X^3+ 15x
please kindly forward us the codes if it is possible.

17 May 2009 Darren Rowland

This functionality is already implemented in Matlab, in the function roots. This is a poor attempt to achieve the same result

Please login to add a comment or rating.
Updates
20 Jul 2007

Modified personal information

Tag Activity for this File
Tag Applied By Date/Time
approximation Keerthi venkateswara Rao 22 Oct 2008 07:11:46
interpolation Keerthi venkateswara Rao 22 Oct 2008 07:11:46
iterative Keerthi venkateswara Rao 22 Oct 2008 07:11:46
approximations Keerthi venkateswara Rao 22 Oct 2008 07:11:46
mathematics Keerthi venkateswara Rao 22 Oct 2008 07:11:46
newton raphson Keerthi venkateswara Rao 22 Oct 2008 07:11:46
newtonraphson china S 24 Mar 2009 05:44:14
approximation layes layes 26 Apr 2009 01:58:35
approximations layes layes 26 Apr 2009 01:58:44
interpolation layes layes 26 Apr 2009 01:58:48
bad code Darren Rowland 17 May 2009 23:29:02
poor submission Darren Rowland 17 May 2009 23:29:02
approximation scott ebbert 24 Sep 2009 14:22:20
newton raphson bruno zappa 30 Oct 2009 10:02:38
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com