Matrices
The zip file contains all of the files for a Custom Storage Class, MemMap, which allows the user to specify the memory address of a parameter in the generated code. The dialog for the parameter data object provides a field for the memory address. This input is verified when entered to insure that...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 61.44 KB | Download (45): Address Specific Parameter Custom Storage Class Download |
[U D] = UDFactor(P) returns matrices U and D such that U.'*D*U = P[U D] = UDFactor(P,uflag) returns matrices U and D such that U*D*U.' = Pwhen uflag is set to TRUE. Setting uflag to FALSE is equivalent torunning UDFactor with only one argument.The alogrithm of UDFactor is similar to the Cholesky...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): UDFactor Download |
normxcorr2_general computes the normalized cross-correlation of matrices TEMPLATE and A. The resulting matrix C contains correlation coefficients and its values may range from -1.0 to 1.0.Limitations of normxcorr2:The documentation of normxcorr2 states that, "The matrix A must be larger than the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Generalized Normalized Cross Correlation Download |
This submission consists of simple and straight forward functions that plots robotic arm configurations and computes forward kinematics transformation matrices. The user has to simply specify the DH parameter matrix (the standard defined in craig's Introduction to Robotics book)The file contains...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Simple Forward Kinematics library for robotic chains Download |
Useful helper function that rounds scalars, vectors or matrices smaller/bigger than zero at a defined place after the decimal point.Needs two input arguments to work properly: out = sRound(val, precision)Usage: out = sRound(val, prec)Example1: a = sRound(0.46,1); a = 0.5000Example2: b =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Round values after the decimal point Download |
In my following book, I derived the algorithm of constructing the parity check matrices of IEEE 802.16e LDPC.[1] Y. Xiao, Turbo and LDPC Codecs and their Applications, Press of Posts and Telecommunications, Beijing, 2010.This program provides the LDPC code with the size 4512*2256, and 1/2...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 40.96 KB | Download (51): The parity check matrix of IEEE 802.16e LDPC with the size 2256*4512 Download |
Calculates the correlation coefficient for 2-d directional and circular data, e.g., if you have one set of 2-d movements and want to compare them to a second (paired) set of 2-d movements.The input to the function is two Nx2 matrices (each matrix specifies the x,y coordinates of N data points).
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): corrcoef_directional.m Download |
These routines assist in the manipulation of matrices with same shape but different content. For example, performing the product A*b is trivial for matrix A and vector b, but what would you do if you had several such products to form? Examples abound: rotations, Jacobians, covariances, etc. Using...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 30.72 KB | Download (39): frontal Download |
SHPATH - shortest path with obstacle avoidance (ver 1.3) Given a "terrain" matrix consisting of zeros (for open space) and ones (for obstacles), this function computes the shortest path between two specified points while avoiding obstacles.A two-stage solution is employed. In stage one, the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Shortest Path with Obstacle Avoidance Download |
calculates Cpk value and confidence intervall with matrices containing NaN'salong different dimensions and with individual p-value.contains code from Jan GldoTAscher's "NaN Suite)" #6837
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Cpk capability index with NaN's Download |
FRD - Full rank factorization of input matrix X.This will write X as the product of two matrices X = KL where both K and L have the same rank as X.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Full Rank Factorization Download |
A package to transfer numeric matrices from and to excel worksheets using activex server link. Tested for Matlab versions 5.2 and 5.3 on a PC under Win95 and Office97. Normal mode uses Excel invisibly.Using exl_getmat with too few arguments invokes the Excel worksheet to be visible and allows the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): exlerve Download |
Different elevations cannot be identified with standard matlab functions such as surf, even changing FaceColor attribute to activate interpolation. In contrast, with this function alows one can define contour levels and different colors are applied to each level.Instead of using surf(x,y,z), you...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Plots a surface coloring by layers (using contour curves) Download |
Well, i made this function some time ago and its purpose was to fit the Universe of the Greek stock market. After having grabbed my information to some matrices, vectors, god knows what, i decided to use it to price interest rate derivatives! I wont tell how, but you might as well try it as...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Multivariate NIG fit Download |
The script solves the problem of assigning a variable name that changes with each iteration, while saving the result using a for loop.It uses a multidimensional array as input and produces matrices as outputs (ASCII).
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1003.52 KB | Download (43): ASSIGN VARIABLE NAMES TO MULTIDIMENSIONAL ARRAY AND SAVE Download |
The functions presented within perform normal zig-zag scanning and the reverse. The normal process converts a matrix of any size into a one-dimensional array by implementing the zig-zag scan procedure.The inverse function takes in a one-dimensional array and by specifying the desired number of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Zig-Zag scan Download |
DIFFUSION_DISTANCE calculate the diffusion distance between matricesdist = diffusion_distance(im1, im2, [sig, dim], threshold, pad_type])[dist, iter] = diffusion_distance(im1, im2) compute the diffusion distancebetween im1 and im2 (histograms).Optionally returns the number of iterations. This...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Diffusion Distance Download |
The MATLAB toolbox offers two particular functions working on vectors as the vector cross product and the dot product. These functions are implemented to work on a general matrix dimension. Unfortunately, this implies a long overhead and slows down the performance significantly.This archive...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (49): Vector functions (double) Download |
Return mahalanobis distance of two data matrices A and B (row = object, column = feature)% @author: Kardi Teknomo% http://people.revoledu.com/kardi/index.htmlSee more explanation in the Mahalanobis Distance tutorial http://people.revoledu.com/kardi/tutorial/...isDistance.html
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (60): Mahalanobis Distance Download |
CORRPERC performs a bootstrap (of size equal to n_iters) on correlation matrices of input variable Y and computes the percentiles corrsperc (according to input perc) of each correlation. The function also provides the standard deviation corrstd for each correlation.[corrsperc, corrstd] =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Correlation Percentiles Download |