changeset 10261:77e2b5a91c6b octave-forge

control-devel: minor changes
author paramaniac
date Tue, 15 May 2012 20:40:30 +0000
parents 00bf15ad8b27
children 03b7781d2f5e
files extra/control-devel/inst/arx.m
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/extra/control-devel/inst/arx.m	Tue May 15 20:01:20 2012 +0000
+++ b/extra/control-devel/inst/arx.m	Tue May 15 20:40:30 2012 +0000
@@ -130,6 +130,10 @@
 
 function x = __ls_svd__ (A, b)
 
+  ## solve the problem Ax=b
+  ## x = A\b  would also work,
+  ## but this way we have better control and warnings
+
   ## solve linear least squares problem by pseudoinverse
   ## the pseudoinverse is computed by singular value decomposition
   ## M = U S V*  --->  M+ = V S+ U*