Digital Signal Processing set 3

Que.What is the output of the following code?
t=[0:1:2];
plot(t,p);
hold;
plot(-t,p);

a. A mirror image of ramp function from 0 to 2 units in time
b. A ramp function from 0 to 2 units in time and it’s a mirror image in the same window
c. A ramp function from 0 to 2 units in time
d. Error
Que.Discrete time convolution is not possible in MATLAB.
a. True
b. False
c. May be True or False
d. Can’t say
Que.plot([0:1:8],[rectpulse(1,9)]’) and plot([0:1:8],ones(1,9)) will generate the same graph.
a. True
b. False
c. May be True or False
d. Can’t say
Que.If x(t-5)=0 for t<5 = A for t>=5, the signal is ___________
a. Causal
b. Symmetric
c. Linear, Time Invariant and Causal
d. Cannot be determined
Que.What is the output of the following code?
>>p=[zeros(1,5),ones(1,6)];
>> t=0:1:10;
>> plot(t,p);

a. r(t-5)-r(t-6)-u(t-10)
b. r(t-5)-u(t-6)-u(t-10)
c. r(t-5)-u(t-6)-r(t-10)
d. r(t-5)-r(t-6)-r(t-10)
Que.What is the output of the following code?
[l,m]=deconv([4 6 8],[2 3 4])

a. l=2,m=0
b. m=2,l=0
c. l=m=2
d. Error
Que.What is the output of the following code?
stem([0:1:19],[zeros(1,5) [rectpulse(1,5)] zeros(1,5) 2*[rectpulse(1,5)]])

a. Error in the input of the y axis
b. A function whose step size increases to 1 at t=5 and to 2 at t=15
c. A function whose step size increases to 1 at t=4 and to 2 at t=14
d. Syntactical Error
Que.What is the output of the following code?
a=[zeros(1,4) [rectpulse(1,5)]’ zeros(1,6) 2*[rectpulse(1,9)]’];
stem([0:1:22],a];

a. Error in the input of the y axis
b. A function whose step size increases to 1 at t=5 and to 2 at t=15
c. A function whose step size increases to 1 at t=4 and to 2 at t=14
d. Error in the input of the x axis
Que.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
Que.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]