Harmonic Measurement
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 (2022). Harmonic Measurement (https://www.mathworks.com/matlabcentral/fileexchange/86857-harmonic-measurement), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.