Question

Name: UIN: Course No 4. (20 points, 5 points each) Two finite length signals, nijej and rlel are given Let y(n] be the linear

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The matlab code is given below, Read the comments and execute in the command window

%signal 1
x1= [1 1 1 1 1]
%signal2
x2=[1 1 1 1 1 1 1 1]
%linear convolution of x1 and x2
y=conv(x1,x2)
%8-point circular convolution of x1 and x2
y1=ifft((fft(x1,8).*fft(x2,8)),8)
%8-point circular convolution of x1 and x2
y2=ifft((fft(x1,10).*fft(x2,10)),10)
%%%to plot signals%%%
%to plot x1
n1=0:1:4
stem(n1,x1,'LineStyle','-.',...
'MarkerFaceColor','red',...
'MarkerEdgeColor','green')
figure();
%to plot x2
n2=0:1:7
stem(n2,x2,'LineStyle','-.',...
'MarkerFaceColor','red',...
'MarkerEdgeColor','green')
figure();
%to plot y1
n3=0:1:7
stem(n3,y1,'LineStyle','-.',...
'MarkerFaceColor','red',...
'MarkerEdgeColor','green')
figure();
%to plot y2
n4=0:1:9
stem(n4,y2,'LineStyle','-.',...
'MarkerFaceColor','red',...
'MarkerEdgeColor','green')

Add a comment
Know the answer?
Add Answer to:
Name: UIN: Course No 4. (20 points, 5 points each) Two finite length signals, nijej and rlel are given Let y(n] be the linear convolution of a ej and lal (a) Detemine yin) (b) Ifwe execute the fol...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT