User Tools

Site Tools


math105-s22:s:jianzhi:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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, in the wave corresponding to $c_k$ that is $e^{\frac{2 \pi ikx}{N}}$$k = \frac{2\pi ik}{N}$, thus it has a wavelength of $\lambda = \frac{N}{k}$.+Hence, the wave corresponding to $c_k$, which is $e^{\frac{2 \pi ikx}{N}}$ has wavenumber $k = \frac{2\pi ik}{N}$, thus it has a wavelength of $\lambda = \frac{N}{k}$. Suffices to compute $c_k$ to find the coefficients of an approximation of the original signal $(y_j)_j$ by a linear combination of the waves
  
 {{:math105-s22:s:jianzhi:screenshot_2022-04-27_at_7.52.07_pm.png?400|}} {{:math105-s22:s:jianzhi:screenshot_2022-04-27_at_7.52.07_pm.png?400|}}
- 
- 
-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 //Vandermonde Matrix for roots of unity// For the encoding of signals, suffices to solve a system of linear equations. Hence, introduce the //Vandermonde Matrix for roots of unity//
  
-<insert diagram>+{{:math105-s22:s:jianzhi:screenshot_2022-04-27_at_9.37.14_pm.png?400|}} 
 + 
 +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 Fourer Transform**+**Fast Fourier Transform**
  
 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 $1and $-1as an example.
  
 **Inverse Fourier Transform** **Inverse Fourier Transform**
  
-$x_n = \frac{1}{N} \Sigma_{k=0}^{N-1} X_k e^{\frac{2 \pi ikn}{N}$+$y_j = \frac{1}{N} \Sigma_{k=0}^{N-1} c_k e^{\frac{2 \pi ijk}{N}}$
  
-Many applications comes from encoding a signal:+The trick here is to notice that the inverse matrix is just another Vandermonde matrix with $\bar{\omega}$ instead of $\omega$.  
 + 
 +{{:math105-s22:s:jianzhi:screenshot_2022-04-27_at_9.37.22_pm.png?400|}} 
 + 
 +**Applications** 
 + 
 +Many applications come from the ability to encode a signal:
   - 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, it means we cannot measure and clearly resolve both the frequency and the time to a very large degree. 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, it means we cannot measure and clearly resolve both the frequency and the time to a very large degree.
- 
  
 **References** **References**
math105-s22/s/jianzhi/start.1651117134.txt.gz · Last modified: 2026/02/21 14:43 (external edit)