Documentation Center

  • Trials
  • Product Updates

Sparse Matrix Creation

Random and nonrandom sparse matrices

Functions

spdiags Extract and create sparse band and diagonal matrices
speye Sparse identity matrix
sprand Sparse uniformly distributed random matrix
sprandn Sparse normally distributed random matrix
sprandsym Sparse symmetric random matrix
sparse Create sparse matrix
spconvert Import matrix from sparse matrix external format
Was this topic helpful?