THD analysis of mathematical simulink model

I have done mathematical modelling of my system in simulink then how to perform the THD analysis

2 Comments

hello
if you can export your simulink data to matlab workspace and with the Signal Processing Toolbox, you can use the thd function

Sign in to comment.

Answers (1)

Hi Pritham,
I understand that you need to perform the THD analysis in simunlink. The powergui block can calculate the Total Harmonic Distortion (THD) of signal. In the FFT Analysis tool, you can select the signal for which you want to calculate the THD, and the tool will display the fundamental frequency and the THD.
You may refer the below links for more information related to powergui and example on calculating the THD of signal using ‘powergui

Asked:

on 4 Jul 2024

Answered:

on 13 Aug 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!