|
68 | 68 | "To compute the linear convolution by the periodic convolution one has to take care that the result of the linear convolution fits into one period of the periodic convolution. Hence, the periodicity has to be chosen as $M \\geq N+L-1$. This can be achieved by zero-padding of $x_L[k]$ and $h_N[k]$ to a total length of $M$\n", |
69 | 69 | "\n", |
70 | 70 | "\\begin{align}\n", |
71 | | - "x_M[k] &= \\left[ x_L[0], x_L[1], \\dots, x_L[L-1], 0, \\dots, 0 \\right]^\\text{T} \\\\\n", |
72 | | - "h_M[k] &= \\left[ h[0], h[1], \\dots, h[N-1], 0, \\dots, 0 \\right]^\\text{T}\n", |
| 71 | + "x_M[k] &= \\begin{cases}\n", |
| 72 | + "x_L[k] & \\mathrm{for} \\; k=0, 1, \\dots, L-1 \\\\\n", |
| 73 | + "0 & \\mathrm{for} \\; k=L, L+1, \\dots, M-1\n", |
| 74 | + "\\end{cases}\n", |
| 75 | + "\\\\\n", |
| 76 | + "h_M[k] &= \\begin{cases}\n", |
| 77 | + "h_N[k] & \\mathrm{for} \\; k=0, 1, \\dots, N-1 \\\\\n", |
| 78 | + "0 & \\mathrm{for} \\; k=N, N+1, \\dots, M-1\n", |
| 79 | + "\\end{cases}\n", |
73 | 80 | "\\end{align}\n", |
74 | 81 | "\n", |
75 | 82 | "This results in the desired equality of linear and periodic convolution\n", |
|
87 | 94 | "source": [ |
88 | 95 | "#### Example\n", |
89 | 96 | "\n", |
90 | | - "The following example computes the linear, periodic and linear by periodic convolution of a rectangular signal $x[k] = \\text{rect}_L[k]$ of length $N$ with a triangular signal $h[k] = \\Lambda_N[k]$ of length $N$." |
| 97 | + "The following example computes the linear, periodic and linear by periodic convolution of a rectangular signal $x[k] = \\text{rect}_L[k]$ of length $L$ with a triangular signal $h[k] = \\Lambda_N[k]$ of length $N$." |
91 | 98 | ] |
92 | 99 | }, |
93 | 100 | { |
|
0 commit comments