if size(y,1) ~= n error('stats:corr:InputSizeMismatch', ... 'X and Y must have the same number of rows.');
MATLAB: Getting error : Error using ==> corr at 103 X and Y must have the same number of rows.
problemsretag
problemsretag
if size(y,1) ~= n error('stats:corr:InputSizeMismatch', ... 'X and Y must have the same number of rows.');
Best Answer