# 2d chebyshev transform in matlab

The following Matlab project contains the source code and Matlab examples used for 2d chebyshev transform. This is a very fast and efficient script for nodal-to/from-spectral transforms using chebyshev polynomials on the unit square domain.

# Chebyshev to legendre conversion in matlab

The following Matlab project contains the source code and Matlab examples used for chebyshev to legendre conversion. 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.

# Legendre to chebyshev conversion in matlab

The following Matlab project contains the source code and Matlab examples used for legendre to chebyshev conversion. 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.

# Chebyshev to gegenbauer conversion in matlab

The following Matlab project contains the source code and Matlab examples used for chebyshev to gegenbauer conversion. Given a series of expansion coefficients in terms of Chebyshev polynomials, this script finds the corresponding Gegenbauer (Ultraspherical)coefficients for the same function. Useful for spectral methods. This is a generalization on the Chebyshev-Legendre conversions.

# Legendre collocation differentiation in matlab

The following Matlab project contains the source code and Matlab examples used for legendre collocation differentiation. This script computes the Legendre-Gauss-Lobatto nodes and the corresponding Legendre differentiation matrix. For some problems, Legendre gives faster convergence than Chebyshev. Useful for spectral methods.

# Chebyshev pade approximation in matlab

The following Matlab project contains the source code and Matlab examples used for chebyshev pade approximation. For a function f(x) with a convergent Taylor series, this script will compute the Chebyshev expansion coefficients of the functions a(x) and b(x) such that a/b is approximately f. The number of sample points must be odd.

# Legendre pade approximation in matlab

The following Matlab project contains the source code and Matlab examples used for legendre pade approximation. Computes a rational approximation to an analytic function using Legendre Polynomials.

# Linear equations of both full rank and deficient rank in matlab

The following Matlab project contains the source code and Matlab examples used for linear equations of both full rank and deficient rank. lineq is the main program, help message for lineq function [homsol,spsol]=lineq(a,b) % solve linear equations a*x=b; % [homsol,spsol]=lineq(a,b); % lineq(a). where homsol are solutions of corresponing homogenous equation, spsol is the special solution of a*x=b.

# Differential quadrature matrix in matlab

The following Matlab project contains the source code and Matlab examples used for differential quadrature matrix. [D]=Diff_Quad(N); Differential Quadrature Matrix for 1st derivative based on Lobatto grid.It calculates for N grid points.Higher derivatives can be easily calculated by using D matrix.

# Fast chebyshev transform (1d) in matlab

The following Matlab project contains the source code and Matlab examples used for fast chebyshev transform (1d). This script allows for fast transformation between nodal and spectral values at the Chebyshev-Gauss-Lobatto points by using the built-in functions fft/ifft.

# Steepest ascent/descent is a simple and efficient optimization method ... in matlab

The following Matlab project contains the source code and Matlab examples used for steepest ascent/descent is a simple and efficient optimization method ... . This m-file provides a simple and efficient optimization method based on statistical design of experiments by the steepest ascent/descent procedure to predict points headed (hopefully) toward to optimum (maximum or minimum) for a first-order design.

# Efficient approximative multiplication of square matrices in matlab

The following Matlab project contains the source code and Matlab examples used for efficient approximative multiplication of square matrices. Algorithmic experiment with matrices.

# Yet another bezier curve demo in matlab

The following Matlab project contains the source code and Matlab examples used for yet another bezier curve demo. Just run bezier_demo.m file. Click 4 times to define a Bezier curve. Drag end and control nodes to edit the curve. Close the window.

The following Matlab project contains the source code and Matlab examples used for radial quadrature and spectral methods. Computes the nodes and weights for numerically solving integrals of the form      /R    | f(r) r^k dr    /0   on N grid points.

# Arbitrary rank update to cholesky factorization in matlab

The following Matlab project contains the source code and Matlab examples used for arbitrary rank update to cholesky factorization. Solves Ax=b where A is given in terms of its Cholesky factors plus an arbitrary nonsymmetric, low rank update.

# Fast chebyshev differentiation in matlab

The following Matlab project contains the source code and Matlab examples used for fast chebyshev differentiation. This script numerically differentiates a function on the Chebyshev-Gauss-Lobatto grid in O(N*log(N)) time. Equivalent to computing D*x where D is the Chebyshev collocation matrix, but much faster for large vectors x.

# Eigen energy solver for schroedinger equation in matlab

The following Matlab project contains the source code and Matlab examples used for eigen energy solver for schroedinger equation. The program 'Efinder' numerically solves the Schroedinger equation using MATLAB's 'ode45' within a range of energy values.

# Summed newton cotes rules in matlab

The following Matlab project contains the source code and Matlab examples used for summed newton cotes rules. This script numerically computes intergrals using the summed Newton-Cotes rules on a uniformly spaced grid. The 2-point (tapezoidal) through 11-point formulas are supported.

# Test problem lp in matlab

The following Matlab project contains the source code and Matlab examples used for test problem lp. This is a program that generates a test problem for linear optimization with a sparse matrix.

# New approaches to constrained optimization in matlab

The following Matlab project contains the source code and Matlab examples used for new approaches to constrained optimization in matlab. M-files accompanying the webinar titled "New Approaches to Constrained Optimization in MATLAB" held on November 05, 2005 These files provide what you need to run the two demos: 1) The first demo is a demonstration of bound constrained optimization of non-smooth objective function using GA and also using a Hybrid function (using GA with another optimization solver).

# Fourier motzkin elimination in matlab

The following Matlab project contains the source code and Matlab examples used for fourier motzkin elimination. The Fourier-Motzkin Elmination is applied to a system of inequalities according the book "Theory of linear and integer programming" by A. Schrijver (1986). It also contains a reduction of redundant inequalities.

# This file generates cos and sin function using cordic algorthm in matlab

The following Matlab project contains the source code and Matlab examples used for this file generates cos and sin function using cordic algorthm . Usin recursive algorithm CORDIC this model generates the Cosine and Sine Function of a given angle. You must click over "Pulsa Aquí" block to put the angle also establish themax error in the simulation. Just Unzip the files

# Special linear matrix in matlab

The following Matlab project contains the source code and Matlab examples used for special linear matrix . SLM creates a special matrix in which each element is the same as its linear index.

# Cholesky factorization of the hilbert matrix of order n in matlab

The following Matlab project contains the source code and Matlab examples used for cholesky factorization of the hilbert matrix of order n . The Hilbert matrix is extremely ill-conditioned, hence cannot be factorized by standard algorithms. However, an analytic solution for its Cholesky factorization exists, which has not been included in the current MATLAB function library.

# Fast sparse lu substitution in matlab

The following Matlab project contains the source code and Matlab examples used for fast sparse lu substitution. This is a dedicated mex-file for use with UMFPACK to efficiently complete the permuted forward/back substitution to solve linear systems, A*x = b when A is sparse and b is a dense vector.

# Newton corrector method for ordinary differential equation in matlab

The following Matlab project contains the source code and Matlab examples used for newton corrector method for ordinary differential equation. Thee purpose, 1. Speed up the convergence of correcting for each points (By newton method). 2. To find the first few points by this method instead of R.K. method. 3. To apply for higher order polynomial fitting.

# Fill each row/column with a certain number of ones (n-ones) in matlab

The following Matlab project contains the source code and Matlab examples used for fill each row/column with a certain number of ones (n-ones) . NONES - fill each row/column with a certain number of ones (N-ONES)     A = NONES(V) creates a logical array A, in which each row/column     starts with zero or more TRUE entries followed by zero or more FALSE     entries, as specified by the elements of the vector V.

# Dtmf encoder decoder with gui using fft,goertzel,filter banks in matlab

The following Matlab project contains the source code and Matlab examples used for dtmf encoder decoder with gui using fft,goertzel,filter banks. A phone-like DTMF tool with GUI using several methods, FFT,goertzel and filter banks. Just run the gui.

# Gaussian curve fit in matlab

The following Matlab project contains the source code and Matlab examples used for gaussian curve fit. [sigma,mu,A]=mygaussfit(x,y) [sigma,mu,A]=mygaussfit(x,y,h) this function is doing fit to the function y=A * exp( -(x-mu)^2 / (2*sigma^2) ) the fitting is been done by a polyfit the lan of the data.

# Hill climbing optimization in matlab

The following Matlab project contains the source code and Matlab examples used for hill climbing optimization. It is a hill climbing optimization algorithm for finding the minimum of a fitness function in the real space.