Matrix Like
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 (48): Matrix Polynomial Fraction Download |
This function makes an imagesc-like plot for two matrices with equal dimensions, in which each each cell of the plot is split diagonally with the upper triangle of cell (i,j) in the plot representing the Matrix1(i,j) and the lower triangle representing Matrix2(i,j).
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Overlay 2 matrices in an imagesc-like plot 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 (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 (53): 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 |
MAKEFSLXFMMATRIX Make FSL-compatible transformation matrix. M = MAKEFSLXFMMATRIX(T,R,S,FILENAME) outputs a 4x4 transformation matrix performing the translations in T, the rotations in R and the scalings in S and writes this matrix to the file specified by the string FILENAME. This file is...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Make FSL-compatible Transformation Matrix 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 (52): 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 (46): 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 |
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 (49): Salvaging a Linear Correlation Matrix Download |
This file takes a matrix A that is Nx(N^2) and creates a Toeplitz-like matrix where the entries are the N NxN submatrices that are contained in A. Example: A=[[2 1;1 5] [0 4;9 8]] thenmattoeplitz(A)= the matrix|2 1 0 4||1 5 9 8||0 4 2 1||9 8 1 5|
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Mattoeplitz Download |
The function translates from labels of a binary tree to corresponding rows (R) and columns (C) of a 2 dimensional matrix storing the tree according to predefined convention. The convention is described in the included figure. It enables to store the binary tree in a matrix which preserves the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 61.44 KB | Download (50): Converts Tree Elements into Matrix Indexes 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 (43): 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 |