Numerical analysis

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

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

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.

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

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.

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).

Pages

Subscribe to RSS - Numerical analysis
Error | freesourcecode.net

Error

The website encountered an unexpected error. Please try again later.