Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

phase angle between two noisy sinusoid waveforms

Anyone have a code snippet that calculates
phase angle between two noisy sinusoid waveforms?

or maybe there is an NI example that I've overlooked?

Thanks.
Philip Newman
General Dynamics
Electric Boat
0 Kudos
Message 1 of 2
(3,333 Views)
Hey Philip,

You should be able to use the AmplitudePhaseSpectrum method that is included in the NationalInstruments.Analysis.SpectralMeasurements namespace.  If you want to compute the difference between two waveforms just make two calls to AmplitudePhaseSpectrum and then subtract the differences of the two phase arrays that are returned.
Pat P.
Software Engineer
National Instruments
Message 2 of 2
(3,319 Views)