Polynomial Function
Computes the Gaussian function in 1D:exp(-log(2)*(2*(x-x0)./FWHM).^(2*floor(abs(order))));Where:x = Co-ordinatex0 = Centre of functionFWHM = Full Width Half Max of the functionorder = Gaussian orderNormal Gaussian is of order 1.Note that FWHM = (1/e Half Width)/sqrt(2*log(2))log is the natural log.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Integer order 1D Gaussian function Download |
This mdf-import function is a modification of Stuarts MDF import tool. A resampling functionality to a unique time signal has been added to allow easy access to all signals and simplify plotting and other analysis with a comon time vector. The help file also shows a possibility to shorten all...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 51.2 KB | Download (46): MDF Import Tool and Function - with resampling/interpolation Download |
This function generates a Timeseries file which can be used for Moore FSM coverage analysis.The file is generated in the working directory and can be opened into the Workspace for use by MATLAB, or read directly into Simulink using the 'Import Data From File' source block.The generated Timeseries...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Function to generate Timeseries file to use for Moore FSM coverage analysis Download |
MolMass is a function for calculating the molar weight of a substance given in form of a chemical formula.Function call: MM = MolMass(substance)Substance is a string of the chemical formula of a substance.Example: MM = MolMass('Fe2(SO4)3');Substance can also be a vector of substances opened by...
Platforms: Matlab
License: Freeware | Size: 102.4 KB | Download (46): Molecular Weight Calculator Function Download |
For a system having multiple inputs x and outputs y, the partial coherence is the coherence computed between any individual input and the output when the effect of all other inputs is removed from the output by a linear least squares prediction. This coherence obeys the usual inequality, and will...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Multiple Coherence Function Download |
The anonymous function handle feature of ML 7 is a long-needed feature, and one that I have longed for since I began writing scripts in early ML 6.Unfortunately, I am still forced to use ML 6 most of the time, so I came up with a way to create "psuedo-anonymous" function handles: that is,...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Temporary (or anonymous) function handles for ML Download |
Function takes a picture as an argument (suitably should contain only one object whose centroid is to be obtained) and returns the x and y coordinates of its centroid.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Centroid Calculation Function Download |
the patch of MLS2D and MLS3DIn the previous MLS2D/MLS3D, I missed a weight function (rectangleWeight.m)in MLS2Dshape.m or MLS3Dshape.m that may cannot run in Matlab.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): rectangleWeight function Download |
A given polynomial p(x) is transformed into a rational function r(x). The poles and residues of the derived rational function are found to be equivalent to the roots and multiplicities of the original polynomial. p(x) = Given polynomial = PROD[k=1:K]{(x - z_k)^m_k} d(x) = (d/dx)p(x) g(x) =...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Multiple-root polynomial solved by partial fraction expansion Download |
To use this function just define a variable say var,var = pnseq(a, b, c);for a, b and c refer to the zip file
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (45): Function to generate PN sequence Download |
specific function which result of pyramid surface bar graph.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Specific Sample Function Plotting using MatLab Download |
After publishing my new block simulink library Function Square,Y output ,and Xput i shoz lineqrity chqnging input vqlue.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Linearity Of Block Function Square Simulink Download |
This function uses rectangle command to plot a circle. The center is to be given in a vector form and radius is a non-negative number.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): A Simple function to plot a circle Download |
% Polynomial Interpolation Problem: Lagrange Form% x and y are vectors with the same dimensions% Given n points: (x_k,y_k) k = 1,2,...n% this function finds a polynomial P(x) of degree less% than n such that P(x_k) = y_k% --% Remarks:% The resulting polynomial is displayed in symbolic notation%...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 51.2 KB | Download (45): Lagrange polynomial Download |
HYPERGEOMETRIC2F1 Computes a hypergeometric function using the series expansion:f(a,b;c;x)=1 + [ab/1!c]x + [a(a+1)b(b+1)/2!c(c+1)]x^2 +[a(a+1)(a+2)b(b+1)(b+2)/3!c(c+1)(c+2)]x^3 + ...This function solves the Gaussian Hypergeometric Differential Equation:x(1-x)y'' + {c-(a+b+1)x}y' - aby = 0
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Gaussian Hypergeometric Function Download |
This function allow you to perform 2d interpolation for matlab code that have to be compiled to C.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): compatible2d interpolation function with code generation Download |
The Matrix Function Toolbox is a MATLAB toolbox connected with functions of matrices. It is associated with the book Functions of Matrices: Theory and Computation and contains implementations of many of the algorithms described in the book. The book is the main documentation for the toolbox.The...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 40.96 KB | Download (45): The Matrix Function Toolbox Download |
POLYCOMP Polynomial compositionR = POLYCOMP(P,Q) returns the composition of Q(P(x)) given polynomials P and Q with coefficients in descending order. If Q is a scalar, with value N, it assumes shorthand notation for Q(x)=x^N. Output is a polynomial with coefficients in descending order. Example:%...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Polynomial Composition Download |
This function very efficiently generates a Truth Table matrix of arbitrary, user specified dimension.The order of the Truth Table is limited only by the user's available system memory. The function is highly efficient, written using only three variables in 15 lines of MATLAB code.While this is...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Function To Generate Truth Table Download |
[coef, RSquared]=plotfit(x,y,polyorder)A simple function that accepts x,y data pairs in in the vectors "x" and "y", fits it to a polynomial of order "polyorder", plots the data and the fit, and displays the fit coefficients and the goodness-of-fit measure R-squared in the upper left corner of the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): plotfit Download |