diff src/pr-output.cc @ 7097:e8c94e473c68

[project @ 2007-11-02 17:24:23 by jwe]
author jwe
date Fri, 02 Nov 2007 17:24:24 +0000
parents a1dbe9d80eee
children dd88d61d443f
line wrap: on
line diff
--- a/src/pr-output.cc
+++ b/src/pr-output.cc
@@ -2732,7 +2732,8 @@
 You can convert the string back into a matrix as follows:\n\
 \n\
 @example\n\
-   eval(['[',rats(hilb(4)),'];'])\n\
+   r = rats(hilb(4));\n\
+   x = str2num(r)\n\
 @end example\n\
 \n\
 The optional second argument defines the maximum length of the string\n\
@@ -3127,7 +3128,6 @@
 @group\n\
 ans =\n\
 \n\
-      3.1416\n\
       9.8696\n\
       97.409\n\
       9488.5\n\
@@ -3146,7 +3146,6 @@
 @group\n\
 ans =\n\
 \n\
-      3.1416\n\
       9.8696\n\
       97.409\n\
       9488.5\n\