Update 'autocorr.m'
This commit is contained in:
@@ -29,7 +29,8 @@ if (nargin >= 2) && ~isempty(numLags)
|
|||||||
|
|
||||||
if (round(numLags) ~= numLags) || (numLags <= 0)
|
if (round(numLags) ~= numLags) || (numLags <= 0)
|
||||||
|
|
||||||
error('Number of lags must be a positive integer');
|
error('Number of lags must be a positive integer');
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user