Gistlib Logo

gistlib

other matlab categories

`composite-simpson` code snippets in matlab

write a functioni = csimpson(f,h)that takes as inputsfan array of functionvalues andhthe distance between grid values and computesithe compositesimpson’s approximation of the integral in matlab

gistlibby LogSnag