$\mathbf{x}\in \mathbb{R}^n$ and $\mathbf{w}\in \mathbb{R}^m$
In [ ]:
In [ ]:
In [ ]:
Combine the outputs of each block
DFT size is $N = L$ (same as block size)
Combine the result of each block
DFT of a signal is Hermitian Symmetric
Assume we are computing a $N$ point DFT
$$Y[k] = Y[N-k]^* \ \ \ (\text{complex conjugate of }Y)$$
Advantages:
If we have a 2d signal: $N\times N$
Complex multiplcation: needs 3 real multiplication (as opposed to a naive version which needs 4) $$(a + jb) (c+jd) = ac - bd + j(ad + bc)\\=u_c v_a + u_av_c + j(u_a v_c - u_b v_b)$$
where $u_a = a, v_a = c, u_b = ..$
Minimal filtering algorithm
Not using DFT
$m$ outputs with $r$-tap filter, the optimal solution needs $F(m,r)=m+r-1$ multiplcations
Example: output size $m=2$ and $3\times 3$ filter size $r=3$
$$F(2,3) = \left[\begin{array}{ccc}d_0 & d_1 & d_2\\d_1 & d_2 & d_3\end{array}\right] \left[\begin{array}{c}g_0\\g_1\\g_2\end{array}\right] = \left[\begin{array}{c}m_1+m_2+m_3\\m_2-m_3-m_4\end{array}\right]$$
$$\begin{array}{ccc}m_1 = ()g_0 & & m_2=(d_1+d_2)\frac{}{2}\\m_4=..& & m_3=\end{array}$$
In [ ]: