Boolean Function Solver
This is a small project aiming to prove a theory that grids can be solved using only the "possible value" method, whereby the numbers are filled in according the condition that that position has only one possible value, in filling this in, possible values matching this number on the same x and y...
Platforms: C and C plus plus
License: Freeware | Size: 10 KB | Download (43): Sudoku Easy/Medium Solver Script 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 |
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 (47): 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 |
This archive contains the script files of the main program, "MMCE.m", and of 11 function files, used in the solved exercises of the book. They work with Matlab R2007b through R2009b It contains also three simulation diagrams to be used with Simulink, in two versions (for the two versions of...
Platforms: Matlab
License: Freeware | Size: 81.92 KB | Download (41): Mono- and Multivariable Control and Estimation 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 |
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 |
L-BFGS-B is a collection of Fortran 77 routines for solving nonlinear optimization problems with bound constraints on the variables. One of the key features of the nonlinear solver is that the Hessian is not needed. I've designed an interface to the L-BFGS-B solver so that it can be called like...
Platforms: Matlab
License: Freeware | Size: 61.44 KB | Download (46): MATLAB interface for L-BFGS-B 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 |
Multi-Knapsack solver by two stochastic solvers : i) by Cross-Entropy Method and ii) by Botev-Kroese Method for the following problemmax S(X)=(p^{t}X) st. WX
Platforms: Matlab
License: Freeware | Size: 61.44 KB | Download (40): Multi-Knapsack solver Download |
Graphical user interface (GUI) is used to solve up to two ordinary differential equations (ODEs). Results can be plotted easily. Choose between MATLAB's ode45 (non-stiff solver) or ode15s (stiffer solver).This is primarily a teaching tool.
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (46): Graphical ODE solver for one or two ordinary differential equations Download |
This function solves the linear fractional-order differential equations (FODE) with constant coefficients. The short memory principle has not neen used here, so the length of input signal is limited to few hundred samples. The parameters of the FODE (in its standard form) are the inputs of this...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Fractional-order differential order equation solver 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 |