# Convolution – 1 MCQ’s

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Convolution – 1″.

1. The unit step response of an L.T.I. system is the convolution of a step signal and it’s ________
a) Impulse response
b) Ramp response
c) Parabolic response
d) Time response

2. What is the working of the conv2() command?
a) 2-d convolution
b) 1-d convolution
c) 3-d convolution
d) n-d convolution

3. What is the output of the following code?

`conv([1 2],[3 4])`

a) [3 10 8]
b) [8 10 3]
c) [3 8]
d) [4 6]

4. What is the output of the following code?

`conv([1;3],[1;3])`

a) A column vector of 1 6 9
b) A row vector of 9 6 1
c) A row vector of 1 6 9
d) A column vector of 9 6 1

5. What is the output of the following code?

`conv[1 2]`

a) Error in input
b) Error in []
c) 2
d) 0

6. What is the output of the following code?

```>>p=conv([ones(1,100)],[ones(1,100)]);
>>x=[1:1:199];
>> plot(x,p)```

a) A triangular pulse
b) A step pulse
c) A sinusoid
d) Error

7. What is the output of the following code?

`conv(3,9)`

a) 27
b) 3
c) 9
d) Error

8. What is the length of the output?

`p=conv([ones(1,150)],[ones(1,150)]);`

a) 299
b) 298
c) 300
d) Error

9. What is the output of the following code?

`conv(,[2;3])`

a) A column vector of 2 and 3
b) A column vector of 3 and 2
c) A row vector of 3 and 2
d) A row vector of 2 and 3

10. What is the dimension of the output?

`conv([1;2],[1;2])`

a) 1*3
b) 1*4
c) 1*2
d) 2*2

11. What is the output of the following code?

`conv({1 2},{3 4})`

a) Error
b) 6 8
c) 3 8
d) 3 10 8

12. What is the shape output of the following code?

`p=conv([ones(1,100)],[ones(1,50)])`

a) A trapezoid
b) A rectangular pulse
c) A triangular pulse
d) Error

13. The signal get shifted by 1 units in time due to the following code: conv([ 1 2 3],[ 0 1 0 ]).
a) True
b) False

14. What is the peak value of the output graph from the following code?

```>>q=conv([1 2],[2 1]);
>> plot([0 1 2],q)```

a) 5
b) 4
c) 1
d) Error

15. The output of p=conv([ones(1,50)],[ones(1,100)]) and p=conv([ones(1,100)],[ones(1,50)]) are same.
a) True
b) False 5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%