[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
format +
From: |
dirk |
Subject: |
format + |
Date: |
Mon, 28 Jun 1999 11:54:58 +0200 (SAST) |
In Octave, "format +" is described thus:
`+'
Print a `+' symbol for nonzero matrix elements and a space
for zero matrix elements. This format can be very useful for
examining the structure of a large matrix.
In Matlab 3.5, it is described thus:
FORMAT + Compact format. The symbols +, - and blank
are printed for positive, negative and zero
elements. Imaginary parts are ignored.
The Octave effect can easily be mimicked from Matlab, i.e.
format +; abs(A)
but the effect of the Matlab code
format +; A
requires manual creation and population of a character matrix in Octave.
Is this not a case where Matlab compatiblity would be a good thing?
Dirk
---------------------------------------------------------------------
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
---------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |