Matrix projects and source code

Small matrix in java

The following java project contains the java source code and java examples used for small matrix. This is just a simple matrix program to find the smallest number in that matrix. This is just another beginner's level to teach beginners such as myself how to find the smallest number in a matrix.

Creates a column vector by stacking elements of x that are on and below the diagonal. in matlab

The following Matlab project contains the source code and Matlab examples used for creates a column vector by stacking elements of x that are on and below the diagonal. . Creates a column vector by stacking elements of x that are on and below the diagonal; each column is placed into a matrix. Created because I could not get Mike Cliff's vech function to work on multidimensional arrays.

Returns a vector containing the maximum number of consecutive integers in each row of matrix x. in matlab

The following Matlab project contains the source code and Matlab examples used for returns a vector containing the maximum number of consecutive integers in each row of matrix x. . NCONSEC = NCONSECUTIVE(X) returns a vector containing the maximum number of consecutive integers in each row of matrix x.

Deleting indices, inserting vectors and rotating/shifting matrix. multidimensional. in matlab

The following Matlab project contains the source code and Matlab examples used for deleting indices, inserting vectors and rotating/shifting matrix. multidimensional. . This extension package for the intrinsic elmat (elementary matrices and matrix manipulation) matlab toolbox contains five routines yet so far: LINTIME, DELMAT, INSMAT, ROTMAT and SHIFTMAT.

Field of values in matlab

The following Matlab project contains the source code and Matlab examples used for field of values. The Field of values of a matrix is a convex set in the complex plane that contains all eigenvalues of the given matrix, however, it is usually difficult to see the shape of this Field of values; this m-file plots boundary points of this set and the eigenvalues of the given matrix.

Cholesky factorization of the hilbert matrix of order n in matlab

The following Matlab project contains the source code and Matlab examples used for cholesky factorization of the hilbert matrix of order n . The Hilbert matrix is extremely ill-conditioned, hence cannot be factorized by standard algorithms. However, an analytic solution for its Cholesky factorization exists, which has not been included in the current MATLAB function library.

Displays vectors, matrices and 3d-arrays using custom data formats, elements separators and brackets in matlab

The following Matlab project contains the source code and Matlab examples used for displays vectors, matrices and 3d-arrays using custom data formats, elements separators and brackets . function row = disparray(array, format, separator, brackets_type) % DISPARRAY - Displays arrays using a custom format % % This function displays scalars, one-dimentional arrays (vectors), % two-dimentional arrays (matrices) and three-dimenational arrays, % using customized format, elements separator and brackets type % % INPUTS: % array: a scalar, a vector, a matrix or a 3D-array

Fill each row/column with a certain number of ones (n-ones) in matlab

The following Matlab project contains the source code and Matlab examples used for fill each row/column with a certain number of ones (n-ones) . NONES - fill each row/column with a certain number of ones (N-ONES)     A = NONES(V) creates a logical array A, in which each row/column     starts with zero or more TRUE entries followed by zero or more FALSE     entries, as specified by the elements of the vector V.

Pages

Subscribe to RSS - Matrix