About 3,570,000 results
Open links in new tab
  1. diag - Create diagonal matrix or get diagonals from symbolic …

    This MATLAB function returns a square diagonal matrix with vector v as the main diagonal.

  2. diag - Create diagonal matrix or get diagonal elements of matrix

    This MATLAB function returns a square diagonal matrix with the elements of vector v on the main diagonal.

  3. Constructing Sparse Matrices - MATLAB & Simulink - MathWorks

    The matrix representation of the second difference operator is a good example of a sparse matrix. It is a tridiagonal matrix with -2s on the diagonal and 1s on the super- and subdiagonal. There …

  4. eig - Eigenvalues and eigenvectors - MATLAB - MathWorks

    [V,D] = eig(A) returns diagonal matrix D of eigenvalues and matrix V whose columns are the corresponding right eigenvectors, so that A*V = V*D.

  5. spdiags - Extract nonzero diagonals and create sparse band and …

    This MATLAB function extracts the nonzero diagonals from m-by-n matrix A and returns them as the columns in min(m,n)-by-p matrix Bout, where p is the number of nonzero diagonals.

  6. triu - Upper triangular part of matrix - MATLAB - MathWorks

    The upper triangular portion of a matrix includes the main diagonal and all elements above it. The shaded elements in this graphic depict the upper triangular portion of a 6-by-6 matrix.

  7. blkdiag - Block diagonal matrix - MATLAB - MathWorks

    This MATLAB function returns the block diagonal matrix created by aligning the input matrices A1,...,AN along the diagonal of B.

  8. kron - Kronecker tensor product - MATLAB - MathWorks

    Block Diagonal Matrix Create a block diagonal matrix. Create a 4-by-4 identity matrix and a 2-by-2 matrix that you want to be repeated along the diagonal.

  9. svd - Singular value decomposition - MATLAB - MathWorks

    The economy-size decomposition removes extra rows or columns of zeros from the diagonal matrix of singular values, S, along with the columns in either U or V that multiply those zeros in …

  10. isdiag - Determine if matrix is diagonal - MATLAB - MathWorks

    Diagonal Matrix A matrix is diagonal if all elements above and below the main diagonal are zero. Any number of the elements on the main diagonal can also be zero. For example, this 4-by-4 …