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:38] jianzhi [FFT, Wavelet Transformation, Uncertainty Principle (The Last Presentation)] |
math105-s22:s:jianzhi:start [2026/02/21 14:41] (current) |
||
|---|---|---|---|
| Line 723: | Line 723: | ||
| 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 | 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 the wave-number; $\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, | + | Hence, the wave corresponding to $c_k$, which is $e^{\frac{2 \pi ikx}{N}}$ |
| {{: | {{: | ||
| - | |||
| - | |||
| - | Compute $c_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. | ||
| For the encoding of signals, suffices to solve a system of linear equations. Hence, introduce the // | For the encoding of signals, suffices to solve a system of linear equations. Hence, introduce the // | ||
| - | <insert diagram> | + | {{: |
| + | |||
| + | Suffices to matrix multiply the Vandermonde matrix for roots of unity with the signal vector. | ||
| Remark: This problem is also equivalent to evaluating a polynomial at the roots of unity, the so-called changing from coefficient representation to value representation. | Remark: This problem is also equivalent to evaluating a polynomial at the roots of unity, the so-called changing from coefficient representation to value representation. | ||
| - | **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 762: | 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** | ||