Fast Fouriet Transformation and Total Harmonic Distortion
1 次查看(过去 30 天)
显示 更早的评论
I would like to ask for help regarding the fast Fouriet Transformation and the Total Harmonic Distortion of a signal I have saved in the Matlab workspace from a simulink running. I have a current signal "Ira" and the corresponding "time" array. I have extracted a single period data from the vectors and I used the command :
"THD_db = thd(Ira);"
Of course it gave me a meaningless result.
I have tried to analyze the spectrum of the signal by using the following commands: "Ira_fft = abs(fft(Ira_fft));"
There is something I did not understand about how to use this function for the purpuose I want to achieve.
Could anyone tell me how to use them properly?
Ps. I could not use PowerGui for the signal analysis because I have the basic version of Matlab which does not include PowerGui block.
Thanks in advance
0 个评论
回答(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!