diff --git a/autocorr.m b/autocorr.m index 433aed4..6bf47f8 100644 --- a/autocorr.m +++ b/autocorr.m @@ -11,6 +11,8 @@ if (rows ~= 1) && (columns ~= 1) error('Input file must be a vector'); + + end time_series = time_series(:); % Ensure a column vector