DOC

function

By Valerie Warren,2015-03-22 13:32
16 views 0
function [val,M]=Ronberg(f,ab,dalt) if nargin<3 dalt =1e-7; end i=1;h=ab(2)-ab(1);t=0;j=0; T(1,1)=(h/2)*(feval(f,ab)*ones(2,1)); while i<50 i=i+1;h=h/2; T=[T zeros(i-1,1);zeros(1,i)]; x=ab(1)+h:2*h:ab(2)-h; y=feval(f,x)*ones(size(x')); T(i,1)=T(i-1,1)/2+h*y; for t=2:i j=t-1; ..
null
null

Report this document

For any questions or suggestions please email
cust-service@docsford.com