About 3,390,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. 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.

  3. Create Diagonal Matrix - Create square diagonal matrix from …

    The Create Diagonal Matrix block populates the diagonal of the M-by-M matrix output with the elements contained in the length-M vector input D.

  4. 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.

  5. balance - Diagonal scaling to improve eigenvalue accuracy

    Balancing is an attempt to concentrate any ill conditioning of the eigenvector matrix into a diagonal scaling. Balancing usually cannot turn a nonsymmetric matrix into a symmetric …

  6. 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 …

  7. 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 …

  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. 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.

  10. 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.