Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As far as I know, the "octave" command really just gets you an interface that allows you to pass strings as "typed in to octave" and get you back strings as printed by octave. So:

  octave:1> 0.123456789
  ans =  0.12346

suggests octave is naturally stingy with printing digits. In order to get more digits back via the octave interface, you should do whatever you do to normally coerce octave to print more digits. Perhaps https://www.gnu.org/software/octave/doc/v4.0.1/Matrices.html#XREFoutput_005fprecision helps.