Main Content
ee_calculateThdPercent
Compute the total harmonic distortion (THD) percentage
Description
[
calculates the total harmonic distortion (THD) percentage using these equations: thdPercent
] = ee_calculateThdPercent(harmonicOrder
,...
harmonicMagnitude
)
and
where:
Mi is the root mean square (RMS) value of the harmonic magnitude corresponding to the ith harmonic order.
M is VRMS or IRMS as required.
You can use the ee_getHarmonics
function to obtain the
vectors of harmonic order and harmonic magnitude for
a simscape.logging.Node
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2014a