MATLAB Implementation of Circular Convolution For Discrete Time Sequences / Signals
MATLAB Implementation of Circular Convolution For Discrete Time Sequences / Signals
Activity 1. Find and plot the circular convolution of the sequences x1 (n) = [1 -1 2 3 4 1] and x2 (n) = [2 1 3 4 0 5]. n=0:5 x1=[1 -1 2 3 4 1] x2=[2 1 -3 4 0 5] c=cconv(x1,x2,6) stem(n,c) xlabel('time') ylabel('amplitude')
Activity 2. Compute and plot the circular convolution for the following sequences x1(n) = (1/4) n x2 (n) = cos (3n/8) 0n7 0n5
Activity 3. Compute and plot the linear convolution using circular convolution (use padding property) for following sequences x1(n) = [1 -3 4] x2(n) = [2 4 3 5 -1] x1=[1 -3 4 0 0]; x2=[2 4 3 5 -1]; c=cconv(x1,x2); stem(c) xlabel('time') ylabel('amplitude')
Conclusion: We have performed the circular convolution and linear convolution by using circular convolution.