Function Argument
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 |
The different low dimensional embeddings are an orthonormal coordinate system generated from a1. Diffusion process defined on the data2 . Normalized Laplace Beltrami operator3. Normalized Focker Plank operatorThis is a nonlinear dimension reduction technique using the concepts of manifold...
Platforms: Matlab
License: Freeware | Size: 890.88 KB | Download (49): Eigen Function of the Laplacian Download |
Statement: strLetterCounter('string')....where, 'string' is an input string containing alphabet or numbers.Ex: string='aaaaaaaabbbbbbccd'Statement: strLetterCounter(string)Output: '8a,6b,2c,1d'Note: This function is different from the Matlab function called 'unique' because it keeps the order in...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (38): String Letter Counter Function Download |
SpinCalc is a consolidated matlab function that will convert any rotation data between the 4 types included. Will also convert between 2 different Euler angle set types.Multiple orientations can be input. For N orientations:DCM ===> 3x3xN multidimensional arrayEA### ===> Nx3 matrixEuler Vectors...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors Download |
pbest=EASYFIT(x,y,varargin) fits the data Y = f(X) to a model function Y = FUN(P,X).If FUN is not given as an input argument, POLYFIT is used as the model function.Bounds on the parameters P may be set.By default a plot is generated which presents the data as well the "best" curve, confidence...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Fit experimental data is easy Download |
The script plots the envelope of the bode plot for a parametric uncertain/interval system.interval_bode(NumVec,DenVec,clr)The function accepts the numerator (NumVec) and denominator (DenVec) of the uncertain system as matrices of two rows each. The first row containing the lower bounds and the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Interval Bode Plot 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 |
In order to optimize any MATLAB function, there are two options: 1) rewrite the function to take only 1 array of inputs, reading all others from a file, perhaps, or from a global variable (undesirable), or 2) write an interface layer that handles this.This function provides an interface layer...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Generalized Objective Function Download |
This modification of fminsearch solves an issue with this simplex implementation when the function to minimize is smooth at a high scale, but rough at a low scale, i.e. when plotted with the parameters axis being (?10,10), there is a clear global extremum, but when zoomed (-0.1,0.1), the function...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): fminsearch modifed for higher scale smooth 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 |
Invoke the function by calling with a transfer function as its argument.>> mySys=tf([1 3],[1 5 12 8 0])>> RLocusGui(mySys) %Invoke GUIThought Matlab can create root locus plots, it is still useful to sketch root locus plots by hand. The program, RLocsuGui, takes loop gain as input and then...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (47): GUI for Root Locus 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 (54): Function to generate Timeseries file to use for Moore FSM coverage analysis. Download |
Matlab Toolbox for Submodular Function Optimization (v 2.0)By Andreas Krause (krausea@gmail.com).Slides, videos and detailed references available at http://www.submodularity.orgTested in MATLAB 7.0.1 (R14), 7.2.0 (R2006a), 7.4.0 (R2007a, MAC), 7.9.0 (MAC)This toolbox provides functions for...
Platforms: Matlab
License: Freeware | Size: 266.24 KB | Download (40): Submodular Function Optimization Download |
CMIF - Complex Mode Indicator FunctionInputs:H - full complex H matrix (Frequency Response Function) including at least 2 reference points measurements:[number of frequency points x number of DOF x number of reference points]W - frequency vector [Hz]Reference:D.J. Ewins, "Modal Testing: Theory,...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): CMIF - Complex Mode Indicator Function Download |
Basic example for beginners, that shows how to solve the differential equation through S-Function****************DIFFERENTIAL EQ. SOLUTION THROUGH S-FUNCTION*********************************"Instructions for Simulink"*************************1.Goto simulink library browser and expand...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): DIFFERENTIAL EQ. SOLUTION THROUGH S-FUNCTION Download |
A Dynamic environment is one in which either the obstacles or the goal or both are in motion. In most of the current research, robots attempting to navigate in dynamic environments use reactive systems. Although reactive systems have the advantage of fast execution and low overheads, the tradeoff...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Temporal Potential Function based Path Planner for Dynamic Environments Download |
When doing traditional bode diagram control system analysis of ill-conditioned high order SISO systems in V4.2 with Control System Toolbox, I found using these utilities improved the robustness of my results. There's also a nice function to plot an approximate (asymptotic) bode diagram which I...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (42): Transfer Function Utilities for Download |
This function returns a matrix of all possible binary condition vectors for a logical system with (I) inputs.The number of inputs is limited only by the user's available system memory. The function is highly efficient, written using only three variables in 16 lines of MATLAB code.While this is...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Function To Generate Truth Table Condition Vectors Download |
The function arg2vars serves for assigning of values from input argument(s) to variables declared in the output list in the place ofthe function calling. Not assigned output variables are empty, while superfluous arguments are cut to a number of output variables. Number of allocated items is a...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Multiple assignment Download |
WHOSBETTER is a function that sorts the WHOS output according a user defined input (ie name, size, bytes, type etc.). The output also includes the FULL size rather than the #-D labels that TMW prefers. The output is also human readable and incorporates the use of b (byte), kb (kilobyte), Mb...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Improved WHOS function Download |