diff scripts/general/trapz.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 be55736a0783
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/general/trapz.m	Sun Jan 09 16:01:05 2011 -0800
+++ b/scripts/general/trapz.m	Sun Jan 09 21:33:04 2011 -0800
@@ -85,7 +85,7 @@
     z = 0.5 * sum (x(idx1{:}) + x(idx2{:}), dim);
   else
     if (! size_equal (x, y))
-      error ("trapz: x and y must have same shape");
+      error ("trapz: X and Y must have same shape");
     endif
     z = 0.5 * sum ((x(idx1{:}) - x(idx2{:})) .* 
                    (y(idx1{:}) + y(idx2{:})), dim);