Code covered by the BSD License  

Highlights from
Simpson

Be the first to rate this file! 1 Download (last 30 days) File Size: 1.42 KB File ID: #25255

Simpson

by Lee Harper

 

08 Sep 2009

Composite Simpson's rule, equally spaced points.

| Watch this File

File Information
Description

Takes a vector x of equally spaced points, along with the corresponding vector of function values y, and returns the numerical integral via the composite Simpson's rule.
Note: designed as the last stage of a quantum scattering calculation, where the integrand is not even close to a closed function, hence the lack of a function input. Also aware of the limitation of equally spaced points. Sorry.

MATLAB release MATLAB 7.9 (2009b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
simpsons rule Lee Harper 08 Sep 2009 12:56:49
numerical integration Lee Harper 08 Sep 2009 12:56:49

Contact us at files@mathworks.com