Accounting for Phase difference
显示 更早的评论
I have got phase difference between harmonics of a sine wave as below. If I want to reconstruct the sine wave from its harmonics amplitude and phase, how do I consider the phase difference which is not an integer multiple of pi. I know that if it is odd multiple of pi, it is destructive interference and the waves should be opposite in sign. and if the phase difference is even multiple of pi, it is instructive intereference and waves are added together. What if phase difference is 1.5 multiple of pi?
phase difference.
0 -1.570796326794896 -3.141592653589793 -4.712388980384689 -6.283185307179585 -7.853981633974482 -9.424777960769378 -10.995574287564274 -12.566370614359171 -14.137166941154067 -15.707963267948964 -17.278759594743860 -18.849555921538755 -20.420352248333653 -21.991148575128548.
(0π, -1/2π, -π, -3/2π, -2π......)
4 个评论
Bjorn Gustavsson
2020-11-18
You are allowed to write your function (not "a sine-wave" if you have this many harmonics) something like this:
so dont get too stuck on multiples of pi/2. Then start to use the complex exponential - which in the long run will remove a whole lot of thinking when it comes to sines-cosines and such, everything becomes more automatic...
Syed AWM
2020-11-18
Bjorn Gustavsson
2020-11-18
For that case I'll give you the complex answer:

Syed AWM
2020-11-18
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!