function rfValidateData(data)
%RFVALIDATEDATA Validate data input to rationalfit.

%   Copyright 2018 The MathWorks, Inc.

validateattributes(data,{'numeric'},{'nonempty','finite','nonnan'},'', ...
    'Data',2)
