Mercurial > hg > octave-lyh
diff scripts/signal/arch_fit.m @ 11472:1740012184f9
Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 21:33:04 -0800 |
parents | c776f063fefe |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/signal/arch_fit.m +++ b/scripts/signal/arch_fit.m @@ -58,7 +58,7 @@ endif if (! (isvector (y))) - error ("arch_fit: y must be a vector"); + error ("arch_fit: Y must be a vector"); endif T = length (y); @@ -67,7 +67,7 @@ if ((rx == 1) && (cx == 1)) x = autoreg_matrix (y, x); elseif (! (rx == T)) - error ("arch_fit: either rows (x) == length (y), or x is a scalar"); + error ("arch_fit: either rows (X) == length (Y), or X is a scalar"); endif [T, k] = size (x);