Exponentials

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.

Integer order 1d gaussian function in matlab

The following Matlab project contains the source code and Matlab examples used for integer order 1d gaussian function. Computes the Gaussian function in 1D: exp(-log(2)*(2*(x-x0)./FWHM).^(2*floor(abs(order)))); Where: x = Co-ordinate x0 = Centre of function FWHM = Full Width Half Max of the function order = Gaussian order Normal Gaussian is of order 1. Note that FWHM = (1/e Half Width)/sqrt(2*log(2)) log is the natural log.

Integer order radial 2d gaussian function. in matlab

The following Matlab project contains the source code and Matlab examples used for integer order radial 2d gaussian function.. Calculates a rotated 2D gaussian (cylindrical) y = gauss2D_R(X, Y, FWHM_x, FWHM_y, theta, order); X = Matrix of x indices Y = Matrix of y indices FWHM_x = FWHM in x dimension FWHM_y = FWHM in y dimension theta = Rotation angle in degress (+ve = anticlockwise) order = Gaussian order Set: X = ones(Ny, 1) * ((0:Nx-1)*dx - x0) Y = ((0:Ny-1)*dy - y0) * ones(1, Nx);.

Fitting with single exponential curve in the form of: yfit = yinf + (y0-yinf) * exp(-k*(x-x0)) in matlab

The following Matlab project contains the source code and Matlab examples used for fitting with single exponential curve in the form of: yfit = yinf + (y0-yinf) * exp(-k*(x-x0)) . % FITEXPONENTIAL fits a time series to a single exponential curve % [k, yInf, y0] = fitExponential(x, y) % % The fitted curve reads: yFit = yInf + (y0-yInf) * exp(-k*(x-x0)).

Catenary hanging rope between two points in matlab

The following Matlab project contains the source code and Matlab examples used for catenary hanging rope between two points. Given two points in the vertical plane and a given length of rope, the supplied function computes the trajectory of the catenary between those points. Run plot_catenary.m for an interactive demo. See http://en.wikipedia.org/wiki/Catenary for a full description of the catenary curve.

Geometric gaussian kernel bolstered error estimation for linear classification in matlab

The following Matlab project contains the source code and Matlab examples used for geometric gaussian kernel bolstered error estimation for linear classification. Classification and feature selection techniques are among the most commonly used mathematical approaches for analysis and interpretation of biological data.

Modular exponentiation in matlab

The following Matlab project contains the source code and Matlab examples used for modular exponentiation. main executing reference usage: usage_modularExponentiation : Example not using binary exponent usage_modularExponentiation_binaryExponent : Example using binary exponent fast_ToyBinaryExponentiation_Example : Miscellaneous stand-alone sample runs modularExponentiation_binaryExponent_typeI : right to left modularExponentiation_binaryExponent_typeIIA : left to right modularExponentiation_binaryExponent_typeIIB : left to right
Subscribe to RSS - Exponentials