Decode Function
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 |
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 (44): 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 (42): Multiple Coherence Function 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 (39): 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 |
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 |
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 ire(x, signal)Interactive resolution enhancement function for data in the arguments "x,signal". Displays sliders for real-time control of 2nd and 4th derivative weighting factors (factor and factor2) and smooth width. (Larger values of factor1 and factor2 will reduce the peak width but...
Platforms: Matlab
License: Freeware | Size: 102.4 KB | Download (40): Interactive resolution enhancement function Download |
MKLIB takes one or more list(s) of valid M-files and automatically creates a library loader function (M-file), which returns a structure of function handles to all the subfunctions found in those M-filesthe structure's field names are set to the name of the subfunctionsthis allows a user to...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): mklib: a pedestrian function library loader generator Download |
Safely and easily call functions that may not be available (such as those provided by a plugin that gets deactivated).Assuming you had something like this in a template:If you deactivated the plugin that provided list_cities(), your site would generate an error when that template is accessed.You...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (49): Safe Function Call for WordPress Download |
The Function Plotting and Data Fitting Model allows you to create customizable plots to interactively explore the properties of up to three functions at a time. When you enter a function, adjustable parameters are automatically recognized, and sliders are created to vary the values of these...
Platforms: Mac
License: Freeware | Size: 1.41 MB | Download (42): Function Plotting and Data Fitting Model Download |
Paddy is a small Text file viewer with some configuration options for colors and fonts. In contrary to Notepad it can also be used with Linux type files. Paddy can decode Hex encoded Html and Script text, Base64, and Rotate13. Two different fonts can be used according to file extensions.
Platforms: Windows
License: Freeware | Size: 62.81 KB | Download (251): Paddy Download |