3.28571

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

Gauss-Legendre

by Jordi Soler Penades

 

02 Mar 2004 (Updated 04 Mar 2004)

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 submission has inspired the following:
gaussleg
Required Products Symbolic Math Toolbox
MATLAB release MATLAB 5.3 (R11)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
10 Dec 2004 Isra Muñoz

Very good!!

16 Jun 2005 smz j

the output can be ordered.

27 Jan 2006 Eric Alvarez

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

18 Oct 2006 sotos sotos

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

13 May 2007 HAMAD ALOOMER  
10 Jun 2011 rasool

very good

07 Dec 2011 Yang

good

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:15:19
integral Jordi Soler Penades 22 Oct 2008 07:15:19
gauss Jordi Soler Penades 22 Oct 2008 07:15:19
legendre Jordi Soler Penades 22 Oct 2008 07:15:20
mathematics Jordi Soler Penades 22 Oct 2008 07:15:20
legendre Marian 01 May 2011 14:45:59
legendre Mstislav 01 Dec 2011 11:09:21
integration Mstislav 01 Dec 2011 11:09:23

Contact us at files@mathworks.com