CIRCULAR CONVOLUTION OF TWO SEQUENCES
#1

Procedure:-
1. Enter the sequence x[n]
2. Enter the sequence y[n]
3. Find the lengths of x[n] and y[n],ie;Nx and Ny respectively
4. Check Nx=Ny:proceed if equal
5. Initialize a loop variable number of output points
6. For each out sample , access the samples of y[n] in the cyclic order
7. Find the sum of products of x[n] and cyclically folded and shifted y[n]
Description:-
Steps for Cyclic Convolution
Steps for cyclic convolution are the same as the usual convolution, except all index calculations are done "mod N" = "on the wheel"
Step1: “Plot f[m] and h[−m]

Subfigure 1.1 Subfigure 1.2
Step 2: "Spin" h[−m] n times Anti Clock Wise (counter-clockwise) to get h[n-m]
(i.e. Simply rotate the sequence, h[n], clockwise by n steps)

Figure 2: Step 2
Step 3: Point wise multiply the f[m] wheel and the h[n−m] wheel. Sum=y[n]
Step 4: Repeat for all 0≤n≤N−1
Example 1: Convolve (n = 4)
Subfigure 3.1 Subfigure 3.2
Figure 3: Two discrete-time signals to be convolved.
• h[−m] =
Figure 4
Multiply f[m] and sum to yield: y[0] =3
• h[1−m]

Figure 5
Multiply f[m] and sum to yield: y[1] =5
• h[2−m]

Figure 6
Multiply f[m] and sum to yield: y[2] =3
• h[3−m]

Figure 7
Multiply f[m] and sum to yield: y[3] =1
MATLAB program for circular convolution
Code:
clear
clc
close all
% FIRST SEQUENCE X1
x1 = [2 1 2 1];
nx1 = 0:length(x1)-1;
subplot(3,1,1);
stem(nx1,x1);
xlabel('n-->');
ylabel('x1-->');
title('First Sequence');
grid on;

% SECOND SEQUENCE X2
x2 = [1 2 3 4];
nx2 = 0:length(x2)-1;
subplot(3,1,2);
stem(nx2,x2);
xlabel('n-->');
ylabel('x2-->');
title('Second Sequence');
grid on;

% CIRCULAR CONVOLUTION ORDER IS N
N = 4;
% CHECK FOR LENGTH OF X1 AND X2 WITH RESPECT TO N
if length(x1) > N
    error(' N must be >= the length of x1');
end;
if length(x2) > N
    error(' N must be >= the length of x2');
end;
% if N > length(x1) or length(x2) zero pad
x1 = [x1,zeros(1,N-length(x1))];
x2 = [x2,zeros(1,N-length(x2))];
% CIRCULARLY FOLD X2,X2(-M,MOD N), FOR M = 0,1,...,N-1
% X2 = X2(MOD(-M,N)+1);
% CONVOLVE THE CIRCULAR SHIFTED FOLDED SEQUENCE WITH X1
% Y(N) = SUM(X1(M) * X2((N-M)MOD N))
m = [0:N-1];
for n = 0:N-1,
    y(n+1) = sum(x2(mod(n-m,N)+1).*x1);
end;
ny = 0:3;
subplot(3,1,3);
stem(ny,y);
xlabel('n-->');
ylabel('y-->');
title('First Sequence');
grid on;

disp(‘First Sequence is:’);
x1
disp(‘Second Sequence is:’)
x2
disp(‘Circular Convolution is:’);
y
RESULT:-CIRCULAR CONVOLUTION OF TWO SEQUENCES
Reply
#2

to get information about the topic "circular convolution of different length sequences" full report ppt and related topic refer the page link bellow

http://studentbank.in/report-circular-co...t-and-idft


http://studentbank.in/report-circular-co...-sequences
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: circular convolution different length, robotic crane with up down circular motion in pdf, android convolution neural network, convolution in verilog code, circular detection code in matlab, circular convolution 2d matlab, vhdl code 2d convolution,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  CIRCULAR CONVOLUTION OF TWO FINITE LENGTH SEQUENCES USING DFT AND IDFT seminar class 1 9,433 21-11-2012, 12:18 PM
Last Post: seminar details
  To perform multiple sequence alignment between the given sequences using Clustalw2 to smart paper boy 0 1,371 10-08-2011, 02:44 PM
Last Post: smart paper boy
  To perform global alignment between the given sequences using EMBOSS tool. smart paper boy 0 1,337 10-08-2011, 02:43 PM
Last Post: smart paper boy
  To perform local alignment between the given sequences using EMBOSS tool. smart paper boy 0 1,274 10-08-2011, 02:41 PM
Last Post: smart paper boy
  Study the working of half adder for two binary digits addition seminar class 0 2,118 13-05-2011, 04:45 PM
Last Post: seminar class
  LINEAR CONVOLUTION seminar class 0 2,263 06-05-2011, 03:52 PM
Last Post: seminar class
  CIRCULAR CONVOLUTION seminar class 0 1,973 06-05-2011, 03:52 PM
Last Post: seminar class
  LINEAR CONVOLUTION OF TWO FINITE LENGTH SEQUENCES USING DFT AND IDFT seminar class 0 3,306 06-05-2011, 03:40 PM
Last Post: seminar class
  3. LINEAR CONVOLUTION OF TWO SEQUENCES seminar class 0 1,961 06-05-2011, 03:29 PM
Last Post: seminar class
  Algebraic Methods of solving simultaneous pair Linear Equations in Two Variables seminar class 0 2,833 26-04-2011, 10:40 AM
Last Post: seminar class

Forum Jump: