# Circular Convolution Using Matlab Program (DSP)

## What is Circular Convolution?

Circular Convolution

Circular convolution also know as cyclic convolution to two functions which are aperiodic in nature occurs when one of them is convolved in the normal way with a periodic summation of other function.

A similar situation can be observed can be expressed in terms of a periodic summation of both functions, if the infinite integration interval is reduced to just one period. This situation arises in Discrete Time Fourier Transform(DTFT) and is called as periodic convolution.

Let us consider x to be a function with a defined periodic summation, xT, where:

If h is any other function for which the convolution xT * (Multiply) exists, then the convolution xT ∗ h is periodic and equal to:

where to is an arbitrary parameter and hT is a periodic summation of h.

The second integral is called the periodic convolution of functions xT and hT & is normalized by 1/T.

When xT is expressed as the periodic summation of another function, x, the same operation may also be referred to as a circular convolution of functions h and x.

## Matlab Code for Circular Convolution

Here is the code

you can directly execute the code in matlab

Here is the Output

If you could not understand the code do comment below I will post a detailed guide regarding the explanation of Matlab Code for Circular Convolution