Hello , I am new to Matlab and I want Compute the harmonic contents and THD for the voltage waveform shown in the attached file with The sample rate of the signal is 32 /cycle
조회 수: 3 (최근 30일)
이전 댓글 표시
Hello , I am new to Matlab and I want Compute the harmonic contents and THD for the voltage waveform shown in the attached file with The sample rate of the signal is 32 /cycle consider fundamental frequency = 60 HZ
댓글 수: 0
답변 (1개)
Anagha Mittal
2022년 5월 10일
Hi!
MATLAB provides a direct function named thd to compute the total harmonic distortion of any signal.
You may create a vector of entries mentioned in Signal.xlsx and pass it as an argument to the thd function.
Here is the documentation link for reference: https://www.mathworks.com/help/signal/ref/thd.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spectral Measurements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!