# Local maxima and minima of a pp spline in matlab

The following Matlab project contains the source code and Matlab examples used for local maxima and minima of a pp spline. This function uses vectorised methods to determine the locations of maxima and minima where they exist within a piecewise spline fit.

# Multivariate gaussian mixture model optimization by cross entropy in matlab

The following Matlab project contains the source code and Matlab examples used for multivariate gaussian mixture model optimization by cross entropy. Fit a multivariate gaussian mixture by a cross-entropy method.

# Newton's method for divided differences. in matlab

The following Matlab project contains the source code and Matlab examples used for newton's method for divided differences.. Newton's Method for Divided Differences. The following formula is solved: Pn(x) = f(x0) + f[x0,x1](x-x0) + f[x0,x1,x2](x-x0)(x-x1) + ... + f[x0,x1,..,xn](x-x0)(x-x1)..(x-x[n-1]) Where: f[x0,x1] = (f(x1-f(x0))/(x1-x0) f[x0,x1,..,xn] = (f[x1,..,xn]-f[x0,..,x_[n-1]])/(xn-x0)

# Fixed point method in matlab

The following Matlab project contains the source code and Matlab examples used for fixed point method. The Fixed Point Method is applied to a given function. Convergence conditions are as followed:    f(xa)=0 (=) xa=g(xa) => xa[n+1]=g(xn), n=0,1,.. Error majoration:    |e(xk)| <= L^k/(1-L)*|x1-xo| Choice for inicial aproximation x0:    x0 = middle point of [a,b] = (a+b)/2

# Successive over relaxation in matlab

The following Matlab project contains the source code and Matlab examples used for successive over relaxation. This function solves linear equation systems such as Ax=b using SOR method (Successive Over-Relaxation). When the relaxation scalar w=1, the method used is Gauss-Seidel.

# A new method for generating pareto optimal topologies in matlab

The following Matlab project contains the source code and Matlab examples used for a new method for generating pareto optimal topologies. Engineers are often interested in obtaining optimal topologies, i.

# Solve complex curve fit problem with parameter pooling & stratification by nonlinear least-squares. in matlab

The following Matlab project contains the source code and Matlab examples used for solve complex curve fit problem with parameter pooling & stratification by nonlinear least-squares. . This example solves a complex curve fitting problem that involves parameter pooling and stratification using a nonlinear least-squares approach. This example also takes advantage of some new language features with MATLAB 7.  * Anonymous functions  * Nested functions

# Converttdms (v6) in matlab

The following Matlab project contains the source code and Matlab examples used for converttdms (v6). Import a LabView TDMS file (version 1.

# Compute zernike polynomials and coefficients of a zernike fit with mutually consistent functions. in matlab

The following Matlab project contains the source code and Matlab examples used for compute zernike polynomials and coefficients of a zernike fit with mutually consistent functions. . Zernike polynomials are orthogonal on the unit circle and are commonly used in optics for phase aberrations.

# Valiaho's algorithm in matlab

The following Matlab project contains the source code and Matlab examples used for valiaho's algorithm. Implementation of Valiaho's algorithm to determine the handicap based on paper H. Valiaho. Determining the handicap of a sufficient matrix. Linear Algebra and Its Applications, 253:279-298, 1997.

# Control optimization of a 4dof arm using dido in matlab

The following Matlab project contains the source code and Matlab examples used for control optimization of a 4dof arm using dido. A 4 DOF arm based on the Motoman IA20 was built in AutoDesk Inventor.

# Finding root of any polynomail using newton raphson method in matlab

The following Matlab project contains the source code and Matlab examples used for finding root of any polynomail using newton raphson method . *copy the file to your current directory.

# Hermite cubic interpolating polynomial with specified derivatives in matlab

The following Matlab project contains the source code and Matlab examples used for hermite cubic interpolating polynomial with specified derivatives. PP = PCHIPD(X,Y,D) provides the piecewise cubic polynomial which interpolates values Y and derivatives D at the sites X.

# Zooming an image using nearest neighbor interpolation in matlab

The following Matlab project contains the source code and Matlab examples used for zooming an image using nearest neighbor interpolation. zooming a given image by a given positive factor can be done.

# Ordinary kriging in matlab

The following Matlab project contains the source code and Matlab examples used for ordinary kriging. This function completes what I have started with the functions variogram and variogramfit.

# Plot nurbs objects for nurbs toolbox in matlab

The following Matlab project contains the source code and Matlab examples used for plot nurbs objects for nurbs toolbox. % Examples: % % The two statements below are equivalent and plot a nurbs surface with % lighting gouraud. You need the NURBS toolbox for use of this function. Example:  nurbs=nrbtestsrf;  h=nrbplot(nurbs,50,50],'FaceColor','r','EdgeColor','k','FaceLighting','gouraud');  light  h=nrbplot(nurbs,linspace(0,1,50),linspace(0,1,50)},'FaceColor','r','EdgeColor','k','FaceLighting','gouraud'); light

# Find the greatest frobenius number in matlab

The following Matlab project contains the source code and Matlab examples used for find the greatest frobenius number. a Frobenius is defined as y = a1*x1 + a2*x2 + a3*x3 which has no integer solution of x(i).

# Defect correction method in matlab

The following Matlab project contains the source code and Matlab examples used for defect correction method. Implementation of Defect Correction Method for iteratively solving a linear equation system. A Preconditioning strategy can be used to accelerate convergence.

# Generalized outer product in matlab

The following Matlab project contains the source code and Matlab examples used for generalized outer product. [O,O_MAT] = OUTER(FUN,VEC1,VEC2) Generalized outer product, like calculating VEC1 * VEC2' but instead of using multiplication to combine the elements of VEC1 and VEC2, the function provided by function pointer fun is called for each pair of elements and the results are stored in the N-by-M cell matrix O.

# Greedy algorithm for set cover problem in matlab

The following Matlab project contains the source code and Matlab examples used for greedy algorithm for set cover problem. This function contains the well known greedy algorithm for solving Set Cover problem (Chvátal, 1979), with two small modifications: * In case of more than one possible choice at a certain step, the biggest set is chosen; * Once the solution is found, we check the selected sets to find a better cover solution, removing a set if is a subset of the union of the other set.

# The network simplex algorithm in matlab

The following Matlab project contains the source code and Matlab examples used for the network simplex algorithm. Consider the digraph with N vertices and M arcs N Vertices of the graph is expressed by the numbers 1,…,N.

# N dimensional fourier interpolation in matlab

The following Matlab project contains the source code and Matlab examples used for n dimensional fourier interpolation. Performs N-D FFT interpolation on any data for which fftn works. Will upsample by zero-filling, downsample by truncating high frequencies, or combine both up- and downsampling by dimension to allow arbitrary reshaping.

# Matlab files of the book mathematical modelling for earth sciences in matlab

The following Matlab project contains the source code and Matlab examples used for matlab files of the book mathematical modelling for earth sciences. Matlab files include Gaussian numerical quadrature, Newton's method for finding roots, finite element method for 1D wave equation, and pattern formation (KPP and a system of two coupled PDEs).

# Linear interpolation in matlab

The following Matlab project contains the source code and Matlab examples used for linear interpolation. If we have a given function based on two vectors, parameter and resultant, then we can find the resultant of a different parameter if it is unknown.

# Matrix products expressed in terms of individual operands in matlab

The following Matlab project contains the source code and Matlab examples used for matrix products expressed in terms of individual operands. This submission defines a class for representing products of matrices (or of any objects that know how to multiply) when it is more efficient to store and manipulate the matrices separately.

# Weighted total least squares for mutually correlated coordinates in matlab

The following Matlab project contains the source code and Matlab examples used for weighted total least squares for mutually correlated coordinates. The problem of fitting a straight line to data with uncertainties in both coordinates is solved using a weighted total least-squares algorithm.

# Arbitrary real power of a matrix by schur pade algorithm in matlab

The following Matlab project contains the source code and Matlab examples used for arbitrary real power of a matrix by schur pade algorithm. X = POWERM_PADE(A,P) computes the P'th power X of the matrix A, for arbitrary real P and A with no nonpositive real eigenvalues, by the Schur-Pade algorithm.

# Fast possion equation solver in matlab

The following Matlab project contains the source code and Matlab examples used for fast possion equation solver. solvePoissonSOR.m is an efficient, lightweight function that solves the Poisson equation using Successive Overrelaxation (SOR) with Chebyshev acceleration to speed-up convergence. Dirichlet boundary conditions are used to provide a unique solution.

# Newton's method in matlab

The following Matlab project contains the source code and Matlab examples used for newton's method. This is still a work in progress, having trouble setting tolerances but setting the number of iterations seems to work fine.

# Monte carlo method for estimating plane figure area in matlab

The following Matlab project contains the source code and Matlab examples used for monte carlo method for estimating plane figure area. To calculate an area S(A) of a figure A, bounded by a Jordan curve (which in our case is constructed by a cubic spline approximation) the Monte Carlo method is applied