Matrix
CONV_MTX Convolution matrix. If 'x' is a column vector of length 'nx', then conv_mtx(x,nh) gives a toeplitz matrix 'X' of size (nx+nh-1) times (nh). 'nh' is the length of the column vector 'h' with which 'x' is convolved. Thus finally 'X*h' is same as conv(x,h). If 'x' and 'h' are row vectors,...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): convlution matrix in four lines Download |
These functions show some advances about MPF (Matrix Polynomial Fraction) using for represent multivariable models and design multivariable control system.
Platforms: Matlab
License: Freeware | Size: 419.84 KB | Download (42): Matrix Polynomial Fraction Download |
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 (42): 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 (41): 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 (43): 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 (50): 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 (42): 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 (42): min and max values plus coordinates of 2D a matrix Download |
The solution of the nearest correlation matrix applies the hypershpere or spectral decomposition methods as outlined in Monte Carlo methods in Finance by Peter Jackel, Chapter 6.Use CorrelationExample.m that applies a simple example for the two cases.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Salvaging a Linear Correlation Matrix 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 (41): 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 (46): 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 (40): 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 (40): 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 (51): Data matrix whitening (Sripts) 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 (40): 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 |