50 or 60 hz harmonics in MATLAB
3 ビュー (過去 30 日間)
古いコメントを表示
I have a model of transmition line and I need to add 50hz harmonics from the first harmonic to the 7th harmonic.
How can I do that?
0 件のコメント
回答 (1 件)
Walter Roberson
2011 年 5 月 17 日
Identify the fft points corresponding to 100 Hz, 150 Hz, 200 Hz, 250 Hz, 300 Hz, 350 Hz, 400 Hz. Increase the absolute magnitude at those bin locations as is appropriate for the model you have of the energy contained in each of the harmonics. Note that I say "increase the absolute magnitude", not just "increase the value", as harmonics are not necessarily in phase.
Be sure to also mirror the change at corresponding bins in from the right hand side of the fft: e.g., if the 7th bin from the left is being affected, the 6th last from the end should be affected to the same degree.
To avoid dampening the overall result, increase the value of the first bin (the DC frequency) by the total energy you added to the system.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Signal Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!