Harmonic Measurement

Matlab code for harmonic measurement. It will display harmonic spectrum. Measure true value and fundamental

You are now following this Submission

Matlab code for harmonic measurement.
To save voltage and current data in workspace, download the below simulink
https://www.mathworks.com/matlabcentral/fileexchange/86822-harmonic-generator
Run the simulink and check the voltage and current data are saved in workspace.
Run the thdmeasfft.m file, harmonic spectrum of current waveform will display

Cite As

R SRIRANJANI RAMAKRISHNAN (2026). Harmonic Measurement (https://se.mathworks.com/matlabcentral/fileexchange/86857-harmonic-measurement), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2006a to R2020b

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0