Type
format free
at the octave prompt
/Arvid
Den To, 2005-12-01, 11:48 skrev Gorazd Brumen:
sorry for the dumm question,
how do you set the precision in the matrix output like this:
integers numbers are printed integers and
floats are rounded to 2 digits past the dec. point.
like 5 6 1.23
cause i always get: saving [1 2 3] is ok (produces 1 2 3),
but saving
[1 2 3.23] makes [1.0000 2.0000 3.2300] in the output.
is there an easy way to do this?
thanks,
gorazd
--
Gorazd Brumen
Mail: address@hidden
WWW: http://valjhun.fmf.uni-lj.si/~brumen
PGP: Key at http://pgp.mit.edu, ID BCC93240
-------------------------------------------------------------
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
-------------------------------------------------------------
-------------------------------------------------------------
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
-------------------------------------------------------------