Numerical+Recipe 源代码

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

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

function H=heun(f,a,b,ya,M) %Input - f is the function entered as a string 'f' % - a and b are the left and right endpoi…

源码文件

function C = lspoly(X,Y,M) %Input - X is the 1xn abscissa vector % - Y is the 1xn ordinate vector % - M is the de…

源码文件

function D=qr2(A,epsilon) %Input - A is a symmetric tridiagonal nxn matrix % - epsilon is the tolerance %Output - D is the n…

源码文件

function [L,n]=difflim(f,x,toler) %Input - f is the function input as a string 'f' % - x is the differentiation point % …

源码文件

function [C,X,Y]=cheby(fun,n,a,b) %Input - fun is the string function to be approximated % - N is the degree of the Cheb…

源码文件

function [p1,err,k,y]=secant(f,p0,p1,delta,epsilon,max1) %Input - f is the object function input as a string 'f' % - p0 and …

源码文件

function [T,Z]=rks4(F,a,b,Za, M) %Input - F is the system input as a string 'F' % - a and b are the endpoints of the i…

源码文件

function T=rctrap(f,a,b,n) %Input - f is the integrand input as a string 'f' % - a and b are upper and lower limits of int…

源码文件

function [p0,err,k,y]=newton(f,df,p0,delta,epsilon,max1) %Input - f is the object function input as a string 'f' % - df is t…

源码文件

function S=csfit(X,Y,dx0,dxn) %Input - X is the 1xn abscissa vector % - Y is the 1xn ordinate vector % - dxo =…