|
From: | Søren Hauberg |
Subject: | Re: type of sort(sparse(...)) |
Date: | Sun, 02 Sep 2007 00:41:31 +0200 |
User-agent: | Thunderbird 1.5.0.13 (X11/20070824) |
David Bateman skrev:
Could someone who has a recent copy of matlab tell me what a = sort (sprand(10,10,0.2)); whos a gives? In Octave this converts the sparse matrix to a full one, whereas I suspect in matlab it might not.
Matlab Version 7.4.0.129 (R2007a): >> a = sort (sprand(10,10,0.2)); >> whos a Name Size Bytes Class Attributes a 10x10 248 double sparse Søren
[Prev in Thread] | Current Thread | [Next in Thread] |