- #1
NeoDevin
- 334
- 2
If I use the following code in Mathematica
To take the Fourier transform of two data sets, how can I use the resulting data to determine the difference d2-d1?
Code:
f1[t_] := Cos[w t + d1]; f2[t_] := Cos[w t + d2];
data1 = Table[f1[t], {t,1,10000}]; data2 = Table[f2[t], {t,1,10000}];
ft1 = Fourier[data1]; ft2 = Fourier[data2];
To take the Fourier transform of two data sets, how can I use the resulting data to determine the difference d2-d1?