cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Phase Shifting a Time Series in Frequency Domain

mthapar
1-Visitor

Phase Shifting a Time Series in Frequency Domain

I am trying to shift the phase of time series by a constant angle. The time series does not appear to change except for a phase shift of 90 deg where it is simply opposite polarity (sign) as compared to the input. The phase shift of 90 deg works fine using Hilbert transform.

Here is the code I am using:
ang:=90
shf:=PI*ang/180
FTS:=CFFT(Sct)
amps:=mag(FTS)
phs:=phase(FTS)
phscor:=phs+shf
FTS2:=makeri(amps,phscor)
Sct90:=Re(ICFFT(FTS2))


The Hilbert transform command:
HSct:=hilbert(Sct)
This works fine.

I would appreciate any help.

Thanks,

Mangat
4 REPLIES 4
RichardJ
19-Tanzanite
(To:mthapar)

Could you post the worksheet.

Richard

A fixed delay is equivalent to a linearly increasing phase shift (with frequency).

A fixed phase shift will result in a 1/frequency time shift in the signal. The reciprocal term will be dominated by the lowest frequency component.
Try making the amplitude have a similar reciprocal profile (up to some frequency) to see more of an effect....
Philip Oakley

No work sheet ?



jmG

What has Hilbert to do in there ?

From what you are attempting, is seems to be a rotation.
We have the program to rotate the spectrum.
What you call "shift" is probably what I call "rotate".



jmG

Announcements

Top Tags