help-octave
[Top][All Lists]
Advanced

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

bug: num2str missing spaces on 3.0.0


From: Rosen Diankov
Subject: bug: num2str missing spaces on 3.0.0
Date: Mon, 25 Feb 2008 20:20:29 -0500

num2str is missing a space for some reason

here's some code to repro it (i'm sure there is a simpler case). note
that " -0.7071-2.6713e-08" should be separated into two numbers.

v = [   4.4704e-08  -2.6713e-08  -1.0000e+00  -5.2130e-01
   7.0711e-01  -7.0710e-01   2.6713e-08  -3.6102e-01
  -7.0710e-01  -7.0711e-01   4.4704e-08   8.7632e-01];

num2str(v(:)')

ans = 4.4704e-08    0.70711    -0.7071-2.6713e-08    -0.7071
-0.70711         -1 2.6713e-08 4.4704e-08    -0.5213   -0.36102
0.87632

are there any work-arounds for the time being?

thanks,
rosen diankov,


reply via email to

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