function thdPercent = ee_calculateThdPercent( harmonicOrder, harmonicMagnitude )
%thdPercent = ee_calculateThd( harmonicOrder, harmonicMagnitude )
% Given harmonic order and magnitude, return the Total Harmonic
% Distortion percentage.

% Copyright 2013-2018 The MathWorks, Inc.

thdPercent = ee.internal.signal.calculateThdPercent( harmonicOrder, harmonicMagnitude );

end

