Gistlib Logo

gistlib

other matlab categories

`integral approximation` code snippets in matlab

write a functioni = 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

gistlibby LogSnag