![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/875480/image.jpeg)
perform the convolution by using matlab
2 views (last 30 days)
Show older comments
Given:
1. ๐(๐) = [๐ ๐ ๐ ๐ ๐ ๐ ๐] ๐๐๐
๐(๐) = [โ๐ ๐ โ ๐]
2. ๐(๐) = [๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐] ๐๐๐
๐(๐) = [๐ ๐ ๐ ๐]
you are required to:
โข Performing the convolution to find a y(n). Then, proved the h(n) value by performing the deconvolution by using MATLAB software, you are required to: Show the coding for convolution function In each question, attached 3 figures for x(n), h(n) and y(n)
0 Comments
Answers (1)
C PRASAD
on 27 Jan 2022
x=[1 2 3 5 7 9 4]
h=[-1 2 -3]
y=conv(x,h)
subplot(411),stem(x),title('x(n)')
subplot(412),stem(h),title('h(n)')
subplot(413),stem(y),title('y(n)')
h1=deconv(y,x)
subplot(414),stem(h1),title('h(n) by deconvoltion')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/875480/image.jpeg)
0 Comments
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!