matlb实现牛顿-拉斐逊算法

收录时间:2019-05-15
资源分类:Matlab 工具:MATLAB 7.11 (R2010b)

matlb实现牛顿-拉斐逊算法

 

Newton - Raphson method

It is a Matlab function that determines the zero of a regular real function.

 

zero=newton_raphson(function,error)

 

The function has two input variable: 'function' is a string that represents the function of which find the relative zero. It must be expressed with the real variable 'x'. 'error' is the tolerance for the algorithm's arrest.

The function returns the zero point of the real function. It plots, in a figure, the function and the tangents used for the search of the zero.

文件下载列表
newton_raphson.zip (1.76KB)  
附件内容(只显示2中的1个)
newton_raphson.m  
更多

目前尚无评论

用户反馈   关于我们
Copyright (©) ZHIHUISHI.COM 2013 All Rights Reserved.
京ICP备14040384号