Matrix Decomposition
X must be a N-by-K matrix, N is the number of "candidate" and the K is the number of "judge".
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Compute the Kendall's coefficient of concordance of the matrix X Download |
write_matrix_bin(f,m) saves the matrix "m" in a binaryfile "f". write_matrix_bin is a lot faster than the built in function save(), andtakes up much less diskspace than the old "save -v6" which doesn't use compression.write_matrix_bin also includes an option for compression with...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Fast function to save a matrix Download |
sometimes, you want an image that contains text, instead of manually drawing 1s and 0s , this functino takes a string and returns a matrix of 1s and 0s in the form of that string. (tjhe matrix is rectangular the text string is represented as being painted by 1s)
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): create text matrix Download |
This is a learning model for matrix-based data. It can be more efficient than standard vector-based models when the training sample is small or the inputs are matrices, since this model has less parameters than standard ones and exploits an inner structure of the inputs. This model can be...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Linear matrix-based neural network Download |
[D]=Diff_Quad(N);Differential Quadrature Matrix for 1st derivative based on Lobatto grid.It calculates for N grid points.Higher derivatives can be easily calculated by using D matrix.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Differential Quadrature Matrix Download |
Return covariance matrix for given data matrix X (row = object, column = feature)% @author: Kardi Teknomo% http://people.revoledu.com/kardi/index.htmlSee the usage for Mahalanobis distance computation in http://people.revoledu.com/kardi/tutorial/...isDistance.html
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (56): Covariance matrix Download |
Confusion Matrix give information on misclassification. How patterns have been classified in their actual classes against other classes for each class in a matrix form.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Confusion Matrix Download |
Creates Vandermonde matrix with terms of geometric progression in each row.It is an extended version of the Matlab function "vander.m".
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Vandermonde matrix Download |
Two functions to find the value and position of the first min and max in a 2D matrix
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): min and max values plus coordinates of 2D a matrix Download |
This function does the decomposition of a separable nD kernel intoits 1D components, such that a convolution with each of thesecomponents yields the same result as a convolution with the full nDkernel, at a drastic reduction in computational cost.SYNTAX:======= [K1,KN,ERR] =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Kernel decomposition Download |
rrlu computes a rank revealing LU factorization of a general m-by-n real full matrix A using partial pivoting with row and column interchanges.The factorization has the formA(P,Q) = L * Uwhere P and Q are permutation vectors, L is lower triangular(lower trapezoidal if m > n), and U is upper...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Rank revealing lu decomposition Download |
%% MYTOEPLITZ matrix finds the toeplitz matrix of a vector% Input : Vector% Output: Toeplitz Matr
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): function to find toeplitz matrix (same as Matlab's Toeplitz) Download |
Let the input to this function be X, an m x n matrix. Also, let Y be the output. This function does the following.Y(:,i) = X(:,i) - mean(X(:,i)), for i = 1 to n
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Centering Each Column of a matrix to its mean Download |
The script when run with a matrix as an argument shall create a self-contained LaTex file which shall have the supplied matrix as a simple table. Useful for quickly writing the data into a LaTex document.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (51): MATLAB Matrix to LaTex table Download |
When a give system of linear equations are converted to vector form it can easily be written matrix form.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Equation to matrix form Download |
% This Function solves a bilateral matrix quadratic equation% of the form AX+XB+XCX+D = 0 for X% Inputs : Matrices A,B,C, D of appropriate dimensions%% Output : The Matrix X - if a solution exists
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Solve Bilateral Matrix Quadratic Equation Download |
Computes the ZCA whitening of a data matrix and returns the whitened data and whitening/dewhitening transformation matrices.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (63): Data matrix whitening (Sripts) Download |
A colour (RGB or 3-channel) image may be converted to a quaternion matrix by placing the three colour components into the three quaternionic imaginary parts, leaving the real part zero. The quaternionic singular value decomposition is a technique to decompose the quaternion matrix (representation...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 348.16 KB | Download (48): Quaternionic singular value decomposition of square colour images into singular value components Download |
A more short code for generating a random matrix A of (1,-1),no loop
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): A more short code forgenerating a random matrix A of (1,-1); Download |
Provide a matrix of which you would like to obtain the position where its maximum or minimum occurs. By specifying your desire for the max or min position, simply run the program to obtain it.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Max or Min position in a matrix Download |