3.28571

3.3 | 7 ratings Rate this file 42 Downloads (last 30 days) File Size: 2.05 KB File ID: #4560

Gauss-Legendre

by

 

02 Mar 2004 (Updated )

Numericaly evaluates integral using Gauss-Legendre quadrature method.

| Watch this File

File Information
Description

This zip has 3 funtions:
-polegende generates legendre polinomyal.
-flege performs an integration variable change to change any interval [a,b] to [-1,1] so the integral can be properly evaluated.
-gausslegende numericaly evaluates the integral of function [f]

Acknowledgements

This file inspired Gaussleg.

Required Products Symbolic Math Toolbox
MATLAB release MATLAB 5.3 (R11)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
07 Dec 2011 Yang

good

10 Jun 2011 rasool

very good

13 May 2007 HAMAD ALOOMER  
18 Oct 2006 sotos sotos

what about singularities?
e.g. f(x)=(1/(x^2))*besselj(1,2*x)

27 Jan 2006 Eric Alvarez

It's very slow for large numbers of integration abcissas.

16 Jun 2005 smz j

the output can be ordered.

10 Dec 2004 Isra Muñoz

Very good!!

Contact us