Back to Sparse Matrices
full
Convert sparse matrix to full storage
Syntax
A = full(S)
Description
Converts a sparse matrix S to full (dense) matrix form. If S is already a full matrix, returns it unchanged.
Parameters
| Name | Description |
|---|---|
| S | Sparse or full matrix |
Returns
Full (dense) matrix
Examples
Try It
>> full(speye(3))