Decode Function
This function takes a number (integer or float) and returns a string with the integer portion grouped by thousands and the decimal portion rounded or padded to given number of decimal places.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Number Format function Download |
This module provides several functions that can encode and decode a string. It also has a function called partition for designing faster algorithms.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (60): z_string Download |
gencoder is a simple php encoder that use base64 function algorithm to encode and decode the script.The drawback of this script: - it doesn't have a key for encryption / decryption method. - run slower then normal php script (because it need to re-read the script and decode it). - only work on...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (62): gencoder 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 |
This m-file finds the periodic ACF of all the m-sequences of length 31.In this program m-sequences of length 31 are generated and its periodic Autocorrelation function is plotted.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Autocorrelation function of m-sequence Download |
Very simple program to convert regular ASCII text to a block of binarry numbers and vise versa. Just run the following commands to view an example:encode('test.txt','binary.txt')decode('binary.txt','ascii.txt')
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Encode Decode ASCII Binary Download |
This function calculates the probability under the normal distribution curve, plots the graph and the area calculated.Normaldistribution calculating the area under a normal distribution curve from -ve infinity upto point x. Input: x : point on the normal distribution curve mean : mean of the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (51): probability distribution function (normal distribution) Download |
This m-file finds and plots the autocorrelation and crosscorrelation function(ACF and CCF) of generated Gold codes of length 31.Crosscorrelations are three valued.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (53): Autocorrelation and Crosscorrelation function of gold sequence Download |
I was not able to get the peaks from my experimentally obtained data because of its random nature. As a result the findpeaks() defined in Matlab library was not giving results as expected. Hence I made a code which will help findpeaks() help detect the peaks more accurately.It basically averages...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Function for finding peaks from data array Download |
for entropyH = entropy(S)this command will evaluate the entropy of S, S should be row matrixH = entropy([X;Y;Z])this command will find the joint entropy for the 3 variablesH = entropy([X,Y],[Z,W])this will find H(X,Y/Z,W).. you can use it for any combination of joint entropiesPlease validate this...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): entropy, joint entropy and conditional entropy function for n variables Download |
This function generates Walsh Codes. The difference between this function and other functions available to generate walsh code is :1. you can call this function directly in your script, you will have to pass only the value of 'a' (length of code is 2 ^ a)2. this function can return you both the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Function to generate Walsh Code 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 |
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 (45): 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 |
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 |
The Velleman PCSGU250 is a combination 2-channel oscilloscope and function generator. This MATLAB Support package allows you to: * configure scope properties such as triggers and time range * retrieve waveforms from the scope * configure the function generator * create custom waveforms for the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 819.2 KB | Download (66): MATLAB Support Package for Velleman PCSGU250 Oscilloscope + Function Generator Download |