Newton Raphson m-file

3 vues (au cours des 30 derniers jours)
jsparkes951
jsparkes951 le 4 Mar 2015
Commenté : jsparkes951 le 4 Mar 2015
I have to employ the newton raphson algorithm to find the positive real roots of f(x)=2xln(X)-1. I need to create a function m-file to do so. This is my first matlab assignment and I'm not really familiar with it. I don't really know how to go about the iteration and I'm not very confident with creating the function either. Any help would be greatly appreciated.

Réponse acceptée

rantunes
rantunes le 4 Mar 2015
  1 commentaire
jsparkes951
jsparkes951 le 4 Mar 2015
Thanks :)

Connectez-vous pour commenter.

Plus de réponses (1)

Giorgos Papakonstantinou
Giorgos Papakonstantinou le 4 Mar 2015
I would recommend to take a look at Cleve Moler's book Numerical Computing with MATLAB. Particularly in Chapter 4 which deals with finding the roots of functions with numerical methods.
Additionally, you can find a lot of submissions for Newton's Method in FEX.
  1 commentaire
jsparkes951
jsparkes951 le 4 Mar 2015
Thanks :)

Connectez-vous pour commenter.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by