Azzera filtri
Azzera filtri

compute the convolution and plot the sequence

11 visualizzazioni (ultimi 30 giorni)
Manikanta Jupudi
Manikanta Jupudi il 2 Set 2021
Risposto: Chunru il 2 Set 2021
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

Risposte (1)

Chunru
Chunru il 2 Set 2021
x=[1 2 3 4 5 6];
y=[1, 1 ,1]
y = 1×3
1 1 1
z = conv(x, y);
stem(z)

Community Treasure Hunt

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

Start Hunting!

Translated by