Code covered by the BSD License  

Highlights from
Quadrature rules for spherical volume integrals

5.0

5.0 | 2 ratings Rate this file 9 Downloads (last 30 days) File Size: 2.03 KB File ID: #10750

Quadrature rules for spherical volume integrals

by Greg von Winckel

 

14 Apr 2006 (Updated 19 Apr 2006)

Computes weights and nodes for numerically solving spherical volume integrals.

| Watch this File

File Information
Description

SPHEREQUAD generates quass quadrature nodes and weights for numercially computing volume integrals in spherical coordinates (r,theta,phi). The radius of the sphere can be either finite or infinite, provided that the function to be integrated decays rapidly with increasing radius.

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
20 Apr 2006 John D'Errico

It gave the correct results on my tests, working on both finite and infinite domains. Good help, examples. Well done.

28 Jan 2010 john

Hi,
This code works great for me!

Would you know of the reference on which this code is based on?

-john

Please login to add a comment or rating.
Updates
17 Apr 2006

variable name fixes

18 Apr 2006

Second attempt at variable name fixes

19 Apr 2006

Clarified comments to specify range of variables.

Tag Activity for this File
Tag Applied By Date/Time
integration Greg von Winckel 22 Oct 2008 08:22:20
gauss Greg von Winckel 22 Oct 2008 08:22:20
quadrature Greg von Winckel 22 Oct 2008 08:22:20
volume Greg von Winckel 22 Oct 2008 08:22:20
coordinates Greg von Winckel 22 Oct 2008 08:22:20
spherical Greg von Winckel 22 Oct 2008 08:22:20
integral Greg von Winckel 22 Oct 2008 08:22:20
volume Rolf Winkler 04 Jan 2011 06:04:23
gauss Rakesh shambharkar 11 Jun 2011 02:01:14

Contact us at files@mathworks.com