- #1

- 299

- 1

## Main Question or Discussion Point

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];
```