[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: save/load problem
From: |
Andrey Romanenko |
Subject: |
Re: save/load problem |
Date: |
Mon, 29 Dec 2003 16:12:58 +0000 (WET) |
Hello,
On Sat, 27 Dec 2003, Carolina Gama wrote:
>
> actual=rand(6,6)>0.8
>
[]
> >> save -ascii estado_inicial.txt actual
> warning: save: wrong type argument `bool matrix'
> warning: near line 5, column 1:
Allright, so you problem is that Octave doesn't save boolean matrices.
Probably it will be fixed in a future version of Octave, but for the
time being you can use a quick trick:
actual=rand(6,6)>0.8
actual=actual.*actual
This will convert "actual" to a ``normal'' matrix and you will be able to
save it.
Andrey
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------