changeset 14423:62cb605af1af

doc: Further fixes diagperm (bug #35666)
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Wed, 29 Feb 2012 16:47:20 -0500
parents 428faafdfa54
children c267a3522d6c
files doc/interpreter/diagperm.txi
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/diagperm.txi	Wed Feb 29 16:21:05 2012 -0500
+++ b/doc/interpreter/diagperm.txi	Wed Feb 29 16:47:20 2012 -0500
@@ -431,11 +431,13 @@
 @example
 @group
   s = norm (X, "columns");
-  X = diag (s) / X;
+  X /= diag (s);
 @end group
 @end example
 
-The same can also be accomplished with broadcasting:
+@noindent
+The same can also be accomplished with broadcasting
+(@pxref{Broadcasting}):
 
 @example
 @group
@@ -454,7 +456,7 @@
 @end example
 
 @noindent
-Finally, here's how you solve a linear system @code{A*x = b} 
+Finally, here's how you solve a linear system @code{A*x = b}
 with Tikhonov regularization (ridge regression) using SVD (a skeleton only):
 
 @example