Mercurial > octave-nkf
diff scripts/general/interp2.m @ 11589:b0084095098e
missing semicolons in script files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 18:26:09 -0500 |
parents | c792872f8942 |
children | 2090995ca588 |
line wrap: on
line diff
--- a/scripts/general/interp2.m Thu Jan 20 17:51:13 2011 -0500 +++ b/scripts/general/interp2.m Thu Jan 20 18:26:09 2011 -0500 @@ -229,7 +229,7 @@ ## Get 2D index. idx = sub2ind (size (a), yidx, xidx); ## We can dispose of the 1D indices at this point to save memory. - clear xidx yidx + clear xidx yidx; ## apply plane equation ZI = a(idx) + b(idx).*Xsc + c(idx).*Ysc + d(idx).*Xsc.*Ysc; @@ -243,7 +243,7 @@ elseif (strcmp (method, "pchip")) if (length (X) < 2 || length (Y) < 2) - error ("interp2: pchip2 requires at least 2 points in each dimension") + error ("interp2: pchip2 requires at least 2 points in each dimension"); endif ## first order derivatives