function rfValidateFreq(freq)
%RFVALIDATEFREQ Validate freq input to rationalfit.

%   Copyright 2018 The MathWorks, Inc.

validateattributes(freq,{'numeric'}, ...
    {'nonempty','vector','real','finite','nonnan','nonnegative'},'', ...
    'Freq',1)
