Newton Raphson m-file
조회 수: 6 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
rantunes
2015년 3월 4일
Hey,
I guess here you can find an helpful solution to your problem http://www.mathworks.com/matlabcentral/answers/107508-solving-a-nonlinear-equation-using-newton-raphson-method
Greets
추가 답변 (1개)
Giorgos Papakonstantinou
2015년 3월 4일
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.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!