Fill the half-filled code snippet to get the following graph: impulse(1,[1 _], ‘red’); ____; impulse(1,[1 _], ‘blue’); impulse(1,[1 _],

Thanh Hoan

New member
Fill the half-filled code snippet to get the following graph:
impulse(1,[1 _], ‘red’);
____;
impulse(1,[1 _], ‘blue’);
impulse(1,[1 _], ‘yellow’);
impulse(1,[1 _], ‘green’);
A. 2, hold, 3,4,5
B. 9, hold, 4,5,2
C. 5, hold, 4,3,2
D. Cannot be determined
 
Answer: a
Explanation: The above code shows that after each impulse command, the amplitude of the exponential decreases faster- besides this, it reveals that the order of the input transfer function is 1 so the transfer function is a step signal. Since we’ve plotted the impulse response, we observe that the transfer function is of the form (1/s-a) and if |a| increases, the response decreases faster. Hence, the only plausible option is a. The hold command should be used to plot multiple graphs on the same window.
 

Tìm kiếm

Back
Top