[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: type of sort(sparse(...))
From: |
David Bateman |
Subject: |
Re: type of sort(sparse(...)) |
Date: |
Sun, 02 Sep 2007 08:23:37 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
Søren Hauberg wrote:
> 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
>
Ok, then it looks like we need a sparse version of sort..
D.