%% Determine Computational Cost of dsp.FarrowRateConverter
% Create a dsp.FarrowRateConverter System object™ with default values. Determine its computational cost: the number of coefficients, number of states, multiplications per input sample, and additions per input sample.

frc = dsp.FarrowRateConverter;
cst = cost(frc)

%
% Repeat the computation, allowing for a 10% tolerance in the output sample rate.

frc.OutputRateTolerance = 0.1;
ctl = cost(frc)

% Copyright 2015 The MathWorks, Inc.