3.0

3.0 | 2 ratings Rate this file 14 Downloads (last 30 days) File Size: 1.45 KB File ID: #8066

Gauss-Hermite

by Jordi Soler Penades

 

19 Jul 2005 (Updated 19 Jul 2005)

Integrates a function using gauss-hermite method

| Watch this File

File Information
Description

Contains two functions, one of them produces hermite polynomial and the other one integrates the function.

MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
02 Mar 2006 Nguyen Hieu

I try the function to calculate the cummulative probability density function for exponetial distribution. But the result appear wrong. Can you check this
1=int(expopdf,0,infinity,): I use your function as follow: I=gausshermi('exppdf',0,10000,32)=2.2759. It should be one.

24 Mar 2006 Steven Spielman

function I=gausshermi(f,a,b,n)

neither 'a' nor 'b' is used in the function.

15 Jul 2008 Stephen Bocquet

Re. Nguyen Hieu's comment:
Gauss-Hermite quadrature is for integration from -Inf to Inf. Use Gauss-Laguerre quadrature to integrate from 0 to Inf.

23 Jun 2010 Kyle  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
integration Jordi Soler Penades 22 Oct 2008 07:53:44
gausshermite Jordi Soler Penades 22 Oct 2008 07:53:44
cuadrature Jordi Soler Penades 22 Oct 2008 07:53:44
method Jordi Soler Penades 22 Oct 2008 07:53:44

Contact us at files@mathworks.com