help-octave
[Top][All Lists]
Advanced

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

oct files


From: John W. Eaton
Subject: oct files
Date: Thu, 8 Jul 1999 19:53:40 -0500 (CDT)

On  8-Jul-1999, Artur Jorge Azevedo Carvalho <address@hidden> wrote:

| this is my second attempt in getting some help from the
| octave gurus... :) seriously, i really need to know, if
| there is any way of reshaping a matrix in a .oct file, 
| without having to use the feval function, i once thought
| this wold be a easy job, only needed to change the rows
| and columns values of a matrix, but i found that reshape
| was a script file(.m) and that in reallity it creates a
| second matrix sized of the reshape value, and then it
| copies the content of the matrix to this new one...
| is there any other way? please...

There are resize methods in the Array and Array2 classes that are
inherited by the matrix classes.  But maybe those won't do what you
expect with the existing values in a matrix.

jwe



---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

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