About 3,340,000 results
Open links in new tab
  1. Sparse Matrices - MATLAB & Simulink - MathWorks

    Sparse matrices provide efficient storage of double or logical data that has a large percentage of zeros. While full (or dense) matrices store every single element in memory regardless of value, sparse …

  2. Sparse Matrix Operations - MATLAB & Simulink - MathWorks

    Sparse Matrix Operations Efficiency of Operations Computational Complexity The computational complexity of sparse operations is proportional to nnz, the number of nonzero elements in the matrix. …

  3. Constructing Sparse Matrices - MATLAB & Simulink - MathWorks

    Constructing Sparse Matrices Creating Sparse Matrices MATLAB ® never creates sparse matrices automatically. Instead, you must determine if a matrix contains a large enough percentage of zeros …

  4. sparse - Create sparse matrix - MATLAB - MathWorks

    This MATLAB function converts a full matrix into sparse form by squeezing out any zero elements.

  5. spalloc - Allocate space for sparse matrix - MATLAB - MathWorks

    This MATLAB function creates an all-zero sparse matrix S of size m-by-n with room to hold nz nonzero elements, where nz >= 1.

  6. Computational Advantages of Sparse Matrices - MATLAB & Simulink

    Computational Advantages of Sparse Matrices Memory Management Using sparse matrices to store data that contains a large number of zero-valued elements can both save a significant amount of …

  7. speye - Sparse identity matrix - MATLAB - MathWorks

    Description S = speye returns a sparse scalar 1. S = speye(n) returns a sparse n -by- n identity matrix, with ones on the main diagonal and zeros elsewhere.

  8. sprandn - Sparse normally distributed random matrix - MATLAB

    This MATLAB function creates a sparse matrix that has the same sparsity pattern as the matrix S, but with normally distributed random entries with mean 0 and variance 1.

  9. sprand - Sparse uniformly distributed random matrix - MATLAB

    This MATLAB function creates a sparse matrix that has the same sparsity pattern as the matrix S, but with uniformly distributed random entries.

  10. CSR sparse matrix - File Exchange - MATLAB Central - MathWorks

    Jun 18, 2025 · Work with sparse matrices using CSR matrix format to significantly improve performance of matrix-vector multiplications.