| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimPowerSystems |
| Contents | Index |
| Learn more about SimPowerSystems |
Extras/Measurements
A discrete version of this block is available in the Extras/Discrete Measurements library.
The Total Harmonic Distortion block measures the total harmonic distortion (THD) of a periodic distorted signal. The signal can be a measured voltage or current.
The THD is defined as the root mean square (RMS) value of the total harmonics of the signal, divided by the RMS value of its fundamental signal. For example, for currents, the THD is defined as
![]()
where
![]()
![]()
It follows that the THD has a value between zero and 1. It is null for a pure sinusoidal voltage or current.

Connect this input to the voltage or current you want to measure the total harmonic distortion.
The output returns the THD of the input signal.
![]() | Timer | Two-Quadrant Chopper DC Drive | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |