The find Function

May 9th, 2010 No Comments   Posted in Functions

The find function determines the indices of array elements that meet a given logical
condition. In its simplest form, find returns a column vector of indices. Transpose that
vector to obtain a row vector of indices. For example, Read More

Linear Algebra

May 8th, 2010 No Comments   Posted in Controls

Informally, the terms matrix and array are often used interchangeably. More precisely, a
matrix is a two-dimensional numeric array that represents a linear transformation. The
mathematical operations defined on matrices are the subject of linear algebra. Read More

Constructing Sparse Matrices

April 14th, 2010 No Comments   Posted in Documents

Creating Sparse Matrices

  • Converting Full to Sparse
  • Creating Sparse Matrices Directly
  • Creating Sparse Matrices from Their Diagonal Elements

MATLAB software never creates sparse matrices automatically. Instead, you must determine if a matrix contains a large enough percentage of zeros to benefit from sparse techniques. Read More