Newton法 源代码

汇集 Newton法 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。

收录资源 500 份 全站深度检索
源码文件

function r = newton(fun,x0,xtol,ftol,verbose) % newton Newton's method to find a root of the scalar equation f(x) = 0 % % S…

源码文件

function x = newton(fun,x0,xtol,ftol,verbose,varargin) % newtonNG Newton's method to find a root of the scalar equation f(x) = …

源码文件

function r = newton(fun,x0,xtol,ftol,verbose) % newton Newton's method to find a root of the scalar equation f(x) = 0 % % S…

源码文件

/* 牛顿法解多项式的根 输入:多项式系数c[],多项式度数n,求在[a,b]间的根 输出:根 要求保证[a,b]间有根 */ double fabs( double x ) { return (x0; i--) p…

源码文件

function x=Newton(fname,dfname,x0,e,N) %用途:Neton迭代法解非线形方程f(x)=0; %fname和dfname分别表示f(x)及其导函数的M函数句柄或内嵌函数表达式 %x0为迭代初值,e为精度 %x为返回数…

源码文件

function f = Newton(x,y,x0) syms t; if(length(x) == length(y)) n = length(x); c(1:n) = 0.0; else disp('x和y的维数不…

源码文件

clear all x0 = [10; 10; 10]; tolf = 1.e-10; tolx = 1.e-10; maxit = 100; % Newton's method [x, ithist, iflag…

源码文件

clear all x0 = [1.5; 2]; tolf = 1.e-10; tolx = 1.e-10; maxit = 100; % Newton's metjod [x, ithist, iflag] = newtn…

源码文件

function [x, y] = ImpEuler( x0, x_end, y0, h, rhs_fctn ) % % Purpose: % Solve the initial value problem % % …

源码文件

% % nlineq_driver.m % % use bisect.m and newt1d.m to compute an approximation % of the root of f(x) = cos(x)*cosh(x)+1 % % M…