

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Name: Box #:
f ∗ g(k) =
N∑ − 1
r=
f (k − r)g(r) =
N∑ − 1
r=
f (r)g(k − r) (mod N )
The mod N means that we use clock arithmetic in computing k − r, or that we assume that f and g are defined for all integers , but are periodic with period N , i.e., f (k + N ) = f (k), g(k + N ) = g(k). For example, suppose that N =4 and that f and g are defined by vectors [x 0 , x 1 , x 2 , x 3 ] and [y 0 , y 1 , y 2 , y 3 ] : f (r) = xr mod 4, g(r) = yr mod N. Then
f ∗ g(0) =
∑^3 r=
f (−r)g(r) = f (0)g(0) + f (−1)g(1) + f (−2)g(2) + f (−3)g(3)
= f (0)g(0) + f (3)g(1) + f (2)g(2) + f (1)g(3) = x 0 y 0 + x 3 y 1 + x 2 y 2 + x 1 y 3 f ∗ g(1) = x 1 y 0 + x 0 y 1 + x 3 y 2 + x 2 y 3 f ∗ g(2) = x 2 y 0 + x 1 y 1 + x 0 y 2 + x 3 y 3 f ∗ g(3) = x 3 y 0 + x 2 y 1 + x 1 y 2 + x 0 y 3
f ∗ g(0) f ∗ g(1) .. . f ∗ g(7)
= Hf Y = Hf
y 0 y 1 .. . y 7