gistlib
other matlab categories
`approximation` code snippets in matlab
central difference approximation write a script which for a vector of increasingly smaller values of h computes approximations of f ′ (2) in matlab
write a function i = csimpson(f,h) that takes as inputs f an array of function values and h the distance between grid values and computes i the composite simpson’s approximation of the integral. in matlab
gistlib
by LogSnag