My Report

MATLAB Mock 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
 10%

Question 1 of 10

1. What is the output of the following code?

>> p=dirac(0)==Inf;
>> t=(0:.001:17);
>> q=p*1;
>> conv(q,sin(2*pi*t));
>> plot(t,ans)

Question 1 of 10

Question 2 of 10

2. What is the output of the following code?

T=0:1:9;
stem(T);

Question 2 of 10

Question 3 of 10

3. 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’);

Question 3 of 10

Question 4 of 10

4. What is the output of the following code?

conv(3,9)

Question 4 of 10

Question 5 of 10

5. What is the output of the following code?

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

Question 5 of 10

Question 6 of 10

6. The Discrete Transfer Fcn1 is using a ramp function.
matlab-puzzles-q9

Question 6 of 10

Question 7 of 10

7. If x(t-5)=0 for t<5 = A for t>=5, the signal is ___________

Question 7 of 10

Question 8 of 10

8. What is the output of the following code?

P=tf([1 2],[3 4]);
Q=tf([1 2],[3 4]);
Z=P.Q;

Question 8 of 10

Question 9 of 10

9. The settling time is a measure of _________

Question 9 of 10

Question 10 of 10

10. The convolution of a discrete signal with itself is _________

Question 10 of 10


 

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.