5.0

5.0 | 1 rating Rate this file 10 Downloads (last 30 days) File Size: 2.15 KB File ID: #27496

Newton-Raphson Method for Non-linear System of 3 variables

by Jesus Hernandez

 

05 May 2010

Newton Method to solve non-linear (also linear) systems of 3 variables.Very amicable

| Watch this File

File Information
Description

You can solve non-linear systems of 3 variables. Only write "newtonv1" on the command window. Then write the 3 equations, the number of iterations y the precision tolerance. The partial derivatives for the gradients are calculated by the program

Required Products Symbolic Math Toolbox
MATLAB release MATLAB 6.1 (R12.1)
Tags for This File  
Everyone's Tags
mathematics, roots
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
13 Oct 2011 Emre

ok, i've found the problem, that was silly of me. i am getting a warning now, it says
"Warning: The method char/diff will be removed in a future release. Use sym/diff instead. For example diff(sym('x^2')).
After removal diff('x^2') will return diff(double('x^2')).
> In char.diff at 10
In Untitled at 34"
how can i get rid of this warning. Thanks

13 Oct 2011 Emre

Thanks for the code but i am getting this error please help me.

??? Error using ==> eval
Undefined function or variable 'e'.

Error in ==> Untitled at 62
fw3 = eval(f3name);

Contact us