help-octave
[Top][All Lists]
Advanced

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

Re: Save-load problem


From: John W. Eaton
Subject: Re: Save-load problem
Date: Tue, 29 Apr 2003 13:59:33 -0500

On 29-Apr-2003, Przemek Klosowski <address@hidden> wrote:

| Having said that, it is possible, and it does the job: the trick is to
| persuade octave that we have modified the sequence:
| 
| a=0:pi/16:8*pi;
| a(1)=a(1)            <- the trick
| save x.mat
| clear
| load x.mat
| whos

Or, you can use [] to force the creation of a matrix object:

  octave:1> typeinfo (1:10)
  ans = range
  octave:2> typeinfo ([1:10])
  ans = matrix

jwe



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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