About 3,420,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

    This MATLAB function returns a column vector containing the eigenvalues of square matrix A.

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

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

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

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

  9. kron - Kronecker tensor product - MATLAB - MathWorks

    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.

  10. equilibrate - Matrix scaling for improved conditioning - MATLAB

    Equilibrate Matrix for Improved Conditioning Equilibrate a matrix with a large condition number to improve the efficiency and stability of a linear system solution with the iterative solver gmres. …