Why does the phase spectrum not always start at 0?
I am using the "Amplitude and Phase Spectrum.vi" and the algorithm in question requires me to be able to compare the phase of different signals (based on the calculation of a "true phase"). The problem however is that the phase spectrum output from this VI does not always start at 0 as I would expect it to, instead it sometimes starts at 180 degrees...
At first it looked as if I could fix this by unwrapping the phase from the very first point (Not offset it to zero. The unwrapping is not the in-built one by the way, that does not do anything here, but a custom one (the threshold for unwrapping needs to be set lower than 180 due to limited frequency resolution...), but in some cases that produces incorrect results. Is there an alternative function that will always start off at 0, or something that could be done to make the phase spectrums easier to compare?