My Report

MATLAB Practice Test 10


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. The output of p=conv([ones(1,50)],[ones(1,100)]) and p=conv([ones(1,100)],[ones(1,50)]) are same.

2. The step response of the impulse response of a ramp function will be ________

3. In MATLAB, the impulse response of the step response of a system is ___ to the step response of the impulse response of the system.

4. What is the output of the following code?

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

5. What is the output of the following code?

>>t=(0:17);
>> p=dirac(0)==Inf;
>> q=p*1;
>> conv(q,t) 

6. The impulse response of a parabola _________

7. What is the output of the following code?

syms n;ztrans(2^n,z)

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

9. What is the output of the following code?

>>t=(0:17);
>>o=dirac(t)==Inf;
>>q=o*1;
>>conv(q,t)

10. Choose the correct option after observing the given graph and the code snippet carefully.
matlab-questions-answers-impulse-response-1-q11
impulse(1,[1 _], ‘red’);
hold on;
impulse(1,[1 a], ‘blue’);
impulse(1,[1 b], ‘yellow’);
impulse(1,[1 _], ‘green’);


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.