help-octave
[Top][All Lists]
Advanced

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

Re: precision


From: Gorazd Brumen
Subject: Re: precision
Date: Thu, 01 Dec 2005 14:25:45 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920

works perfectly - exactly as i wanted.

thanks again, ciao,
g.

Arvid Rosén wrote:
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
-------------------------------------------------------------



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



reply via email to

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