help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ASCII file format for sparse matrices?


From: David Bateman
Subject: Re: ASCII file format for sparse matrices?
Date: Fri, 13 May 2011 00:27:35 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10

On 05/12/2011 10:50 PM, Jordi Gutiérrez Hermoso wrote:
> On 12 May 2011 15:33, Rui Maciel <address@hidden> wrote:
>> Does Octave support any ASCII file format to import/export sparse matrices?
> Yes, it's the default format. Try
>
>      x = sprand(5,5,0.2)
>      save x x
>
> and you can now inspect in an editor file named "x" to see how Octave saved 
> it.
>
>

That should probably be

save -text x x

to ensure that any default save file type is overridden.

D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]