3.66667

3.7 | 3 ratings Rate this file 6 Downloads (last 30 days) File Size: 3.71 KB File ID: #19063

Sparse grid quadrature

by Greg von Winckel

 

05 Mar 2008 (Updated 05 Mar 2008)

Computes the nodes and weights for a sparse grid on a hyperrectangle

| Watch this File

File Information
Description

This all-in-one code computes the sparse Clenshaw-Curtis grid points and weights for an orthotope of arbitrary dimensionality. i.e. It's for integrating a high-dimensional function in a box domain. This is not an adaptive code.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
clenshaw, curtis, integration, nodes, quadrature, sparse, weights
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
04 May 2013 Pengfei Wei

This is an excellent work. However, after verifying this code using a group of test cases, I found that the results for most the test cases are not correct when compared with those derived by Maple. Does anyone has the same problem with me?

14 Jun 2009 ben

computation result is not accurate, for example, test example use triplequad in matlab.

12 Mar 2008 Alex Chan

It's quite helpful to me. Thx
I also hope to know how to extend the code using other quadrature rules like Gauss-Hermite and Gauss-laguerre quadratures.

Contact us