compute the convolution and plot the sequence
이전 댓글 표시
Write a MATLAB program to compute the convolution of the following sequences
x=[1 2 3 4 5 6], y=[1, 1 ,1]
(a) Plot the signal x and y using stem plots as two subplots in a single figure window
(b) Plot the convolved sequence in a separate figure window
답변 (1개)
x=[1 2 3 4 5 6];
y=[1, 1 ,1]
z = conv(x, y);
stem(z)
카테고리
도움말 센터 및 File Exchange에서 Correlation and Convolution에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
