# Phase difference betwen 2 signals, 1 signal with unknown function

I understand this question may have been addressed however I have a major difference.

I started out with a sinusoid of form A*sin(2 pi freq t + phase) and I know all the components, this represents a force a system and produces a response that has a delay and that is periodic in a way, no fully sinusoidal though (I can post pics and any relevant material).

Thus for the response signal I know the frequency and the time vector, I need to find the amplitude and the phase. I have been using FFT but I am not sure if that is the best way. Can someone please help me out here, this seems fairly simple, however I am struggling, Thank you

PS: I can post/email anything that is relevant, please do ask.

• This site is for programming questions, not math. – Marc B Oct 3 '14 at 17:45
• Duplicate of this question which already has an answer. – Dilip Sarwate Oct 6 '14 at 19:03