<< Chapter < Page Chapter >> Page >

Given a discrete-time LTI system with an impulse response $h[n]$, it is a common operation to find the system's output $y[n]$ for some input $x[n]$. There are several ways this can be done, including finding the system matrix $H$ and then using it to find the output via matrix multiplication: $y=Hx$. Recalling the circulant structure of that matrix, the output can be expressed in formula form: $y[n]~=~ x[n] \circledast h[n]~=~ \sum_{m=0}^{N-1} \: h[(n-m)_N] \, x[m]$. This operation is known as circular convolution (or finite-length convolution ).

Computing circular convolution

The circular convolution $x[n]\circledast h[n]$ can be computed using the following seven step procedure: --First, decide which of $x$ or $h$ you will flip and shift. Since circular convolution is commutative, either choice will result in the same output.--Second, plot the values of $x[m]$ on a circular "clock," beginning at "midnight" (for $m=0$), and continuing clockwise for a total number of "hours" that is equal to the length of the signal.--Third, plot $h[(-m)_N]$ on another clock. This simply amounts to plotting the values, starting at midnight, in a counter-clockwise direction.For a given value of $n$, $y[n]$ will be the dot product of the two "clocks." Your original plots of $x$ and $h$ correspond to $n=0$. For $n=1$, first rotate the values of $h$ in a clockwise manner, i.e., delay them one "hour" time unit. Rotating $h$ in this way is what creates $h[(n-m)_N]$. So: --Fourth, rotate the $h$ clock accordingly and,--Fifth, perform the inner product. --Sixth, repeat this for $n$ ranging from $0$ to $N-1$.--Seventh, plot your final answer and do a "reality check" to see if it seems reasonable.

Let's see the circular convolution process in action. Consider the two finite-length ($N=8$) signals below:

Image Image
Discrete-time finite-length signals $x[m]$ and $h[m]$.
Since $N=8$, our "clock" will have have 8 "hours." We will place the "zero hour" at the top of the clock, as if it were midnight, but the starting place is arbitrary, so long as you are consistent (you can also choose to have your time run counter-clockwise, if you prefer).
Image
For the purposes of computing circular convolution by hand, the values of the signals may be plotted on a "clock" with a number of hours equal to the length of the signals. The time values progress clockwise.

The second step is to plot $x[m]$ and $h[(-m)_8]$. For $x$, this means starting at the zero our and then writing the values clockwise. For $h$, this means starting at zero and then writing the values counter-clockwise:

Image
The values of $x[m]$ are plotted clockwise, starting at "midnight."
Image
To plot $h[(-m)_8]$, the values of $h[m]$ are simply plotted counter-clockwise, i.e., backwards in time, starting at "midnight."
Plots of $x[m]$ and $h[(n-m)_8]$.

Having plotted $x[m]$ and $h[(-m)_8]$, we can now begin to find our output values corresponding to each $n$. We'll start with $n=0$, which for $h[(n-m)_8]$ is of course what we have originally plotted:

Image
The plot of $x[m]$ will remain constant for each of the inner products.
Image
The to plot $h[(n-m)_8]$, the $h[(-m)_8]$ signal is rotated $n$ "hour" time units clockwise. Here it is plotted for $n=0$.
Plots of $x[m]$ and $h[(0-m)_8]$, the inner products of which is $y[0]$.
We'll move around clockwise, starting at zero hour, to find the inner product. The value of the inner product for $n=0$ is $y[0]=1\cdot 0 +0\cdot 0+ -1\cdot0 +0 \cdot 0+1\cdot 4 +0\cdot 3 + -1 \cdot 2 + 0 \cdot 1=4-2=2$.

Now, for each successive value of $n$, starting with $n=1$ and going up to $n=7$, we will rotate the $h$ plot clockwise an "hour," and then find the inner product with the (unchanged) $x$.

Image Image
$x[m]$ and $h[(n-m)_8]$ for $n=1$.
The value of the inner product for $n=1$ is $y[1]=1\cdot 1 +0\cdot 0+ -1\cdot0 +0 \cdot0+1\cdot 0 +0\cdot 4 + -1 \cdot 3 + 0 \cdot 2=1-3=-2$.

Below are the plots for $n=2$. $x$ remains unchanged, and $h$ is shifted one hour clockwise from where it was at $n=1$:

Image Image
$x[m]$ and $h[(n-m)_8]$ for $n=2$.

Now for $n=3$:

Image Image
$x[m]$ and $h[(n-m)_8]$ for $n=3$.
The value of the inner product for $n=3$ is $y[3]=1\cdot 3 +0\cdot 2+ -1\cdot 1 +0 \cdot 0+1\cdot 0 +0\cdot 0 + -1 \cdot 0 + 0 \cdot 4=3-1=2$.

Next, $n=4:

Image Image
$x[m]$ and $h[(n-m)_8]$ for $n=4$.
The value of the inner product for $n=4$ is $y[4]=1\cdot 4 +0\cdot 3+ -1\cdot 2 +0 \cdot 1+1\cdot 0 +0\cdot 0 + -1 \cdot 0 + 0 \cdot 0=4-2=2$.

$n=5$:

Image Image
$x[m]$ and $h[(n-m)_8]$ for $n=5$.
The value of the inner product for $n=5$ is $y[5]=1\cdot 0 +0\cdot 4+ -1\cdot 3 +0 \cdot 2+1\cdot 1 +0\cdot 0 + -1 \cdot 0 + 0 \cdot 0=-3+1=-2$.

$n=6$:

Image Image
$x[m]$ and $h[(n-m)_8]$ for $n=6$.
The value of the inner product for $n=6$ is $y[6]=1\cdot 0 +0\cdot 0+ -1\cdot 4 +0 \cdot 3+1\cdot 2 +0\cdot 1 + -1 \cdot 0 + 0 \cdot 0=-4+2=-2$.

And finally, $n=7$:

Image Image
$x[m]$ and $h[(n-m)_8]$ for $n=7$.
The value of the inner product for $n=7$ is $y[7]=1\cdot 0 +0\cdot 0+ -1\cdot 0 +0 \cdot 4+1\cdot 3 +0\cdot 2 + -1 \cdot 1 + 0 \cdot 0=3-1=2$. Now that we have found the output for each $n$ from $0$ to $7$, we may plot $y[n]$
Image
The final plot of $y[n]$.

Questions & Answers

I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Discrete-time signals and systems. OpenStax CNX. Oct 07, 2015 Download for free at https://legacy.cnx.org/content/col11868/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Discrete-time signals and systems' conversation and receive update notifications?

Ask