[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave matrix output input
From: |
Laurent Mazet |
Subject: |
Re: octave matrix output input |
Date: |
Fri, 5 Nov 2004 14:04:24 +0100 |
On Fri, 5 Nov 2004 07:10:31 -0500
"John W. Eaton" <address@hidden> wrote:
...
> This will also work:
>
> octave:1> a = [1,2;3,4]
> a =
>
> 1 2
> 3 4
>
> octave:2> type -q a
> [ 1, 2;
> 3, 4 ]
>
> But why do you want this form of output?
>
It's usefull to insert a matrix into a m-script by a simple copy-paste. BTW type
is much more elegant.
L.
--
Dr. Laurent Mazet: Research Engineer /V\ Centre de Recherche de MOTOROLA
Tel: +33 (0)1 69 35 48 30 =-=-=-=-=-=-=-=-=-=-= Email: address@hidden
-------------------------------------------------------------
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
-------------------------------------------------------------