function [SRmat,quad,err]=adapt(f,a,b,tol) %Input - f is the integrand input as a string 'f' % - a and b are upper and low…
H-jita 源代码
汇集 H-jita 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function Z=srule(f,a0,b0,tol0) %Input - f is the integrand input as a string 'f' % - a0 and b0 are upper and lower limit…
function [D,err,relerr,n]=diffext(f,x,delta,toler) %Input - f is the function input as a string 'f' % - x is the different…
function R=rk4(f,a,b,ya,M) %Input - f is the function entered as a string 'f' % - a and b are the left and right endpo…
function [c,err,yc]=bisect(f,a,b,delta) %Input - f is the function input as a string 'f' % - a and b are the left and right e…
function [lambda,V]= power(A,X,epsilon,max1) % NUMERICAL METHODS: MATLAB Programs %(c) 1999 by John H. Mathews and Kurtis D. Fink…
function E=euler(f,a,b,ya,M) %Input - f is the function entered as a string 'f' % - a and b are the left and right endpo…
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 U=forwdif(f,c1,c2,a,b,c,n,m) %Input - f=u(x,0) as a string 'f' % - c1=u(0,t) and c2=u(a,t) % - a and b right e…