Digital Signal Processing set 4

Que.What is the working of the conv2() command?
a. 2-d convolution
b. 1-d convolution
c. 3-d convolution
d. n-d convolution
Que.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
Que.What is the output of the following code?
conv(3,9)

a. 27
b. 3
c. 9
d. Error
Que.What is the output of the following code?
conv[1 2]

a. Error in input
b. Error in []
c. 2
d. 0
Que.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
Que.What is the length of the output?
p=conv([ones(1,150)],[ones(1,150)]);

a. 299
b. 298
c. 300
d. Error
Que.What is the dimension of the output?
conv([1;2],[1;2])

a. 1*3
b. 1*4
c. 1*2
d. 2*2
Que.What is the output of the following code?
conv([1],[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
Que.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
Que.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
Que.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