Azzera filtri
Azzera filtri

perform the convolution by using matlab

4 visualizzazioni (ultimi 30 giorni)
Yousef da
Yousef da il 27 Gen 2022
Risposto: C PRASAD il 27 Gen 2022
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)

Risposte (1)

C PRASAD
C PRASAD il 27 Gen 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')

Categorie

Scopri di piรน su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by