This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
math105-s22:s:jianzhi:start [2022/04/28 03:28] jianzhi [FFT, Wavelet Transformation, Uncertainty Principle (The Last Presentation)] |
math105-s22:s:jianzhi:start [2026/02/21 14:41] (current) |
||
|---|---|---|---|
| Line 719: | Line 719: | ||
| **Discrete Fourier Transform** | **Discrete Fourier Transform** | ||
| - | The discrete Fourier transform (DFT) converts a sequence of $N$ numbers $x_0, ..., x_{N-1} \in \mathbb{C}$ to a new sequence of $N$ numbers $X_1, ..., X_{N-1} \in \mathbb{C}$, | + | The discrete Fourier transform (DFT) converts a sequence of $N$ numbers $(y_j)_{j=0}^{N-1} = (y_0, ..., y_{N-1}) \in \mathbb{C}$ to a new sequence of $N$ numbers $c_0, ..., c_{N-1} \in \mathbb{C}$, |
| - | Think of $x_i$ as the values of a function or signal at equally spaced times $t = 0, ..., N - 1$. The output $X_k$ encodes the amplitude and phase of $e^{\frac{2 \pi ikn}{N}}$. Key idea: approximate the signals by a linear combination of waves that has wavelength that are an integer factor of $N$. | + | Think of $(y_j)$ as the values of a function or signal at equally spaced times $x = 0, ..., N - 1$. The output $c_k$ encodes the amplitude and phase of $e^{\frac{2 \pi ikx}{N}}$. Key idea: approximate the signals by a linear combination of waves that has wavelength that are an integer factor of $N$ i.e. all such waves has wavelength that are an integer |
| - | Normally, we know the wave equation as $y(x) = cos(kx) + i sin(kx) = e^{ikx}$ where $k = \frac{2\pi}{\lambda}$ is t; $\lambda$ is the wavelength. | + | Normally, we know the wave equation as $y(x) = cos(kx) + i\cdot sin(kx) = e^{ikx}$ where $k = \frac{2\pi}{\lambda}$ is the wavenumber; $\lambda$ is the wavelength. |
| - | Hence, $e^{\frac{2 \pi ikn}{N}}$, $k = \frac{2\pi ik}{N}$, | + | Hence, |
| {{: | {{: | ||
| + | For the encoding of signals, suffices to solve a system of linear equations. Hence, introduce the // | ||
| - | Compute $X_k$ to find the coefficients of an approximation of the signal by a linear combination of such waves. Since each wave has of cycles per N time unit, approximation will be periodic with period N. | + | {{: |
| - | Vandermonde | + | Suffices to matrix multiply the Vandermonde |
| - | Problem | + | Remark: This problem |
| - | **Fast | + | **Fast |
| A naive implementation of the Discrete Fourier Transform takes $O(N^2)$. However, Fast Fourier Transform performs it in $O(N log N)$ by exploiting the symmetry of the roots of unity. | A naive implementation of the Discrete Fourier Transform takes $O(N^2)$. However, Fast Fourier Transform performs it in $O(N log N)$ by exploiting the symmetry of the roots of unity. | ||
| - | An illustration of idea is: break down the polynomial into even and odd terms. We can recycle many computations. Use 1 and -1 as an example. | + | An illustration of idea is: break down the polynomial into even and odd terms. We can recycle many computations. Use $1$ and $-1$ as an example. |
| **Inverse Fourier Transform** | **Inverse Fourier Transform** | ||
| - | $x_n = \frac{1}{N} \Sigma_{k=0}^{N-1} | + | $y_j = \frac{1}{N} \Sigma_{k=0}^{N-1} |
| - | Many applications | + | The trick here is to notice that the inverse matrix is just another Vandermonde matrix with $\bar{\omega}$ instead of $\omega$. |
| + | |||
| + | {{: | ||
| + | |||
| + | **Applications** | ||
| + | |||
| + | Many applications | ||
| - Digital files can be shrunk by eliminating contributions from the least important waves in the combination. | - Digital files can be shrunk by eliminating contributions from the least important waves in the combination. | ||
| - Comparing different sound files by comparing coefficients $X_k$ of DFT. | - Comparing different sound files by comparing coefficients $X_k$ of DFT. | ||
| - De-noising radio waves | - De-noising radio waves | ||
| - | |||
| - | Inverse Vandemonde Matrix | ||
| **Wavelet Transformation and the Uncertainty Principle** | **Wavelet Transformation and the Uncertainty Principle** | ||
| Line 760: | Line 765: | ||
| The Heisenberg Uncertainty Principle from Physics states: $\Delta E \Delta t \geq \frac{\hbar}{4\pi}$. Translated to signal processing, that becomes $\Delta \omega \Delta t \geq \frac{1}{2}$. Intuitively, | The Heisenberg Uncertainty Principle from Physics states: $\Delta E \Delta t \geq \frac{\hbar}{4\pi}$. Translated to signal processing, that becomes $\Delta \omega \Delta t \geq \frac{1}{2}$. Intuitively, | ||
| - | |||
| **References** | **References** | ||