This example creates a 100 by 100 pseudo-random sparse matrix, with 1000 non-zero elements, and then computes the product of the matrix and its transpose:
n = 100 ;Dimensions of matrix
m = 1000 ;Number of non-zero elements
Result = SPRSTP(A)
Returns the sparse matrix of the given sparse array.
A row-indexed sparse array created by the SPRSIN function.
This page has no comments yet. Be the first one!