Skip to content

Commit

Permalink
Update nx/guides/advanced/complex_fft.livemd
Browse files Browse the repository at this point in the history
Co-authored-by: Paulo Valente <[email protected]>
  • Loading branch information
ndrean and polvalente authored Nov 21, 2024
1 parent 32eb730 commit 118cf27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx/guides/advanced/complex_fft.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ sample = Signal.sample(fs: fs, duration: 1)

### Analyse the signal with DFT

The DFT algorithm will **approximates the original signal**. It gives us the following information:
Because our signal contains many periods of the underlying function, the DFT results will contain some noise. This noise stem both from the fact that we're likely cutting of the signal before it repeats, and from the fact that we have a specific frequency resolution which ends up grouping our individual components into frequency bins - the latter isn't really a problem as we have chosen `fs` to be [fast enough](https://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem).

> The number at the index $i$ of the DFT results gives an approximation of the amplitude and phase of the sampled signal at the frequency $i$.
Expand Down

0 comments on commit 118cf27

Please sign in to comment.