Shift and convolution in matrix form

Click For Summary
The discussion focuses on the representation of shift and convolution operators in matrix form. The backward shift operator is defined as acting on a vector to translate its elements, while convolution is expressed through a Z-transform that relates input and output vectors. The matrix form of the convolution operator is derived from the basic operator composition, but confusion arises regarding how the matrix H shifts the input vector u. The author explores the relationship between the matrices and the operations, suggesting that the matrix multiplication is associative, which complicates the interpretation of shifting and scaling. Ultimately, the conversation emphasizes the need for clarity in understanding the roles of matrices and operators in these transformations.
valjok
Messages
70
Reaction score
0
The operators act on a vector to produce another vector. They are matrices, therefore. For instance, the backward shift (aka delay) operator, z, acting on vector, say y, translates k-th element into k-1-th: zyk = yk-1. It is normally z-1 in z-transform but I will ignore the difference where it is clear. I guess that the long matrix form of operator is

<br /> z\left[\begin{array}{c}y_0\\y_1\\y_2\\y_3\end{array}\right]<br /> = \left[\begin{array}{cccc}z&amp;0&amp;0&amp;0\\0&amp;z&amp;0&amp;0\\0&amp;0&amp;z&amp;0\\0&amp;0&amp;0&amp;z\end{array}\right]<br /> \left[\begin{array}{c}y_0\\y_1\\y_2\\y_3\end{array}\right]<br /> = \left[\begin{array}{c}zy_0\\zy_1\\zy_2\\zy_3\end{array}\right]<br /> = \left[\begin{array}{c}0\\y_0\\y_1\\y_2\end{array}\right] <br />

Correct me if I am wrong identifying the diagonal matrix with multiplication operator. Similarly to scalar operator, say 3, that uniformly multiplies every element of vector by the same factor 3, shift operator manages to replace it by the neighbor.


Now, the convolution

<br /> y[m] = \sum_{k=0}{h[m-k]u[k]} = \sum_{k=0}{h[k]u[m-k]} = \sum_{k=0}{h[k]z^{-k}u[m]} = H(z) u[m]<br />

happens to be a Z-transform. In vector form, convolution turns out to

y = H u

and expanded into matrices

<br /> H\left[\begin{array}{c}u_0\\u_1\\u_2\\u_3\end{array}\right]<br /> = \left[\begin{array}{cccc}h_0&amp;0&amp;0&amp;0\\h_1&amp;h_0&amp;0&amp;0\\h_2&amp;h_1&amp;h_0&amp;0\\h_3&amp;h_2&amp;h_1&amp;h_0\end{array}\right]<br /> \left[\begin{array}{c}u_0\\u_1\\u_2\\u_3\end{array}\right]<br />

The thing that I do not understand is that how matrix H is derived from the basic operator composition \sum_{k=0}{h[k]z^{-k}}, from their matrices.

That is, I see that it can be decomposed

<br /> \left[\begin{array}{cccc}h_0&amp;0&amp;0&amp;0\\h_1&amp;h_0&amp;0&amp;0\\h_2&amp;h_1&amp;h_0&amp;0\\h_3&amp;h_2&amp;h_1&amp;h_0\end{array}\right] <br /> = [\begin{array}{cccc}h&amp;h&amp;h&amp;h\end{array}]\left[\begin{array}{cccc}z^0&amp;0&amp;0&amp;0\\0&amp;z^1&amp;0&amp;0\\0&amp;0&amp;z^2&amp;0\\0&amp;0&amp;0&amp;z^3\end{array}\right] = [h] [\begin{array}{cccc}z^0&amp;z^1&amp;z^2&amp;z^3\end{array} ]<br />

Nevertheless, the problem is that H must shift u while it looks like h that is shifted in the matrix. If I start reducing H u by shifting u first, before scaling by h:

y = H u = (h [z0 z1 z2 z3 ]) u = h ([z0 z1 z2 z3 ] u) - matrix multiplication is associative

= h [z0u0+z1u1+z2u2+z3u3 ]
= 4u0 h,

which is bizarre.
 
Physics news on Phys.org
In the end it is a linear equation system which must be solved. No big deal.
However, "they" are matrices leaves open whether the matrices are to be shifted, or whether the operators are matrices. Write down a few examples for ##n=2,3,4## and you will probably see a pattern.
 
Thread 'How to define a vector field?'
Hello! In one book I saw that function ##V## of 3 variables ##V_x, V_y, V_z## (vector field in 3D) can be decomposed in a Taylor series without higher-order terms (partial derivative of second power and higher) at point ##(0,0,0)## such way: I think so: higher-order terms can be neglected because partial derivative of second power and higher are equal to 0. Is this true? And how to define vector field correctly for this case? (In the book I found nothing and my attempt was wrong...

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K