Legendre
The built-in legendre() calculates the Legendre polynomials calculated ALL the orders for a given degree. If you only need a given order, this is a waste of memory and computing time (especially for large blocks of data). The function legendreP(l,m,x) is a drop-in substitute for legendre(l,x),...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Legendre polynomials Download |
Finds the weighting coefficients of the linear combination of a set of Legendre polynomials up to order N.Three methods are available (actually just for fun): 'inv' (default) inverts the normal equation matrix directly, while 'chol' and 'qr' find the solution via Cholesky and QR decomposition,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Legendre polynomial fitting Download |
Given a Legendre polynomial expansion where the coefficients are stored in a column vector, this script computes the expansion in terms of Chebyshev polynomials. Useful for spectral methods.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Legendre to Chebyshev conversion Download |
Given a Chebyshev polynomial expansion where the coefficients are stored in a column vector, this script computes the expansion in terms of Legendre polynomials. Useful for spectral methods.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Chebyshev to Legendre conversion Download |
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]
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Gauss-Legendre Download |
Calculate pi using the Gaussian-Legendre algorithm. The function PIGL.M produces an ASCII file containing the number of decimals requested. The maximum number depends on free disk space and the RAM available.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Calculate PI with Gauss-Legendre Download |
This is a simple program I made for homework, the roots or zeros of the legendre's polinomials are used to integrate using the gauss quadrature, it works but it's still a bit uneficient, while I find a better way to use the roots.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (38): Legendre Roots Download |
This .zip file contains 3 mfiles for computing the nodes and weights for Legendre Laguerre and Hermite - Gauss Quadrature of any order n.Contrary to most of the files in use, the included files are all based on a symmetrical companion matrix, the eigenvalues of which are always real and...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Legendre Laguerre and Hermite - Gauss Quadrature Download |
Generally application is selecting Gauss-Legendre Quadratic integration method. In this sub function is directly application of homogen integration technique for triangular area and tetrahedral volumes.This tetrahedral sub functions results is collate Gauss #5# point integration triangular sub...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 706.56 KB | Download (54): Homogen Integrate on Triangular Area and Tetrahedral Volume Download |
This program returns the coefficients of the shifted Legendre polynomial P_n, given n. The result is a row vector with powers of x decreasing from left to right (standard MATLAB notation). Like for other polynomials, LegendreShiftPoly(n) can be evaluated at x by typing...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): LegendreShiftPoly Download |
gaussleg(f,a,b,ngp)I have found that this is on average +20 times faster than 'Gauss-Legendre' file(4560), and easier to read because it is shorter.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): gaussleg Download |
This program returns the coefficients of the Legendre polynomial P_n, given n. The result is a row vector with powers of x decreasing from left to right (standard MATLAB notation). Like for other polynomials, LegendrePoly(n) can be evaluated at x by typingpolyval(LegendrePoly(n),x).
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): LegendrePoly Download |
This m-file calculates any number of l-moments for given data vector X. It uses probability weighted moments (can actually edit the file to give any number of pwm's) and the coefficients of the shifted Legendre polynomial to calculate the l-moments.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): lmom.m Download |
SQLEngineering extends the T-SQL scripting environment to add direct support for technical, engineering and scientific applications at the database layer.
Performing data analysis from within the database tends to be much faster and more efficient than transporting the data across the...
Platforms: Windows
License: Shareware | Cost: $199.00 USD | Size: 522 KB | Download (86): SQLEngineering Download |
Usage:H = paleyI(N);N: order of the Hadamard matrix to be computed (integer)H: returns the computed Hadamard matrix or returns 0 if an error occurred (invalid matrix order or incorrect H-matrix)H-matrices of Paley type I are defined for orders N = 4m = p+1 (m=1,2,3,...), where p is a prime with...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Paley Type I Hadamard matrices Download |
Compute the solution to the arbitrary-shape thin wire integral equation found in Section 4.5 ofGibson, Walton C. "The Method of Moments in Electromagnetics," Taylor and Francis/CRC, 2008.Assumes a straight wire along z-axis.Gauss-Legendre quadrature weights are computed using the following...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): ATWStraightWireTriangle Download |
A demonstration of the fast algorithm built in to the chebfun system for computing the nodes and weights of Gauss-Legendre quadrature.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Gauss quadrature nodes and weights. Download |
Model II regression should be used when the two variables in the regression equation are random and subject to error, i.e. not controlled by the researcher. Model I regression using ordinary least squares underestimates the slope of the linear relationship between the variables when they both...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): rmaregress Download |
This GUI can be used by entering 'nu' at the MATLAB command prompt. The user can either select a function (f(x)) of their choice or a statistical distribution probability distribution function to plot over a user defined range. The function's integral can be evaluated over a user defined range by...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Numerical Integration GUI Download |
Compute the solution to Pocklingtons's Integral Equation using pulse basis functions and point matching. Assumes a straight wire along z-axis.Gauss-Legendre quadrature weights are computed using the following script:http://www.mathworks.com/matlabcentral/fileexchange/4540
Platforms: PHP
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): PocklingtonPulseSolution Download |