Question 3.25: Convolution of Two Finite-Duration Signals Using MATLAB For ......

Convolution of Two Finite-Duration Signals Using MATLAB

For the signals x[n] and g[n] depicted in Fig. 3.24, use MATLAB to compute and plot c[n] = x[n] ∗ g[n].

3.144
The 'Blue Check Mark' means that either the MATLAB code/script/answer provided in the answer section has been tested by our team of experts; or the answer in general has be fact checked.

Learn more on how do we answer questions.

Script File

>> x = [0 1 2 3 2 1]; g = [1 1 1 1 1 1];
>> n = (0:1:length(x)+length(g)-2);
>> c = conv(x,g);
>> clf; stem(n,c,’k’); xlabel(’n’); ylabel(’c[n]’); axis([-0.5 10.5 0 10]);

3.25

Related Answered Questions

Question: 3.19

Verified Answer:

There are several ways to find the impulse respons...
Question: 3.5

Verified Answer:

We represent the desired sinusoid using an anonymo...