Accounting for Phase difference
Show older comments
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 Comments
Bjorn Gustavsson
on 18 Nov 2020
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
on 18 Nov 2020
Bjorn Gustavsson
on 18 Nov 2020
For that case I'll give you the complex answer:

Syed AWM
on 18 Nov 2020
Answers (0)
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!