File Exchange

image thumbnail

Quadrature rules for spherical volume integrals

version 1.0 (2.03 KB) by

Computes weights and nodes for numerically solving spherical volume integrals.

4 Downloads

Updated

View License

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.

Comments and Ratings (3)

Tanmoy

Tanmoy (view profile)

Good and very helpful..

john

john (view profile)

Hi,
This code works great for me!

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

-john

John D'Errico

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

Updates

Second attempt at variable name fixes

variable name fixes

MATLAB Release
MATLAB 7 (R14)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today