12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Sparse Matrix <strong>Function</strong>sElementary Sparse Matricesspdiags Extract and create sparse band and diagonal matricesspeye Sparse identity matrixsprand Sparse uniformly distributed random matrixsprandn Sparse normally distributed random matrixsprandsym Sparse symmetric random matrixFull to Sparse ConversionfindFind indices and values of nonzero elementsfullConvert sparse matrix to full matrixsparse Create sparse matrixspconvert Import matrix from sparse matrix external formatWorking with Nonzero Entries of Sparse MatricesnnzNumber of nonzero matrix elementsnonzeros Nonzero matrix elementsnzmax Amount of storage allocated for nonzero matrix elementsspalloc Allocate space for sparse matrixspfun Apply function to nonzero sparse matrix elementsspones Replace nonzero sparse matrix elements with onesVisualizing Sparse MatricesspyVisualize sparsity patternReordering Algorithmscolmmd Sparse column minimum degree permutationcolperm Sparse column permutation based on nonzero countdmperm Dulmage-Mendelsohn decompositionrandperm Random permutationsymmmd Sparse symmetric minimum degree orderingsymrcm Sparse reverse Cuthill-McKee orderingNorm, Condition Number, and Rankcondest 1-norm matrix condition number estimatenormest 2-norm estimate1-14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!