adplus-dvertising
frame-decoration

Question

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)

a.

A sinusoid of a frequency 1Hz

b.

A sinusoid of a frequency of 17 Hz

c.

A sinusoid of a frequency of .001 Hz

d.

Error

Posted under MATLAB

Answer: (a).A sinusoid of a frequency 1Hz

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following code?

Similar Questions

Discover Related MCQs

Q. The impulse response is the result of the transfer function of the system.

Q. The impulse response of the transfer function 1 is ________

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

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

Q. The impulse response of a sinusoid ________

Q. The impulse response of a parabola _________

Q. The impulse response does not take account of the transient response of the system.

Q. The poles of the transfer function of a sinusoidal system can represent the frequency of the impulse response of the sinusoidal system.

Q. Which response would provide a higher stability?

Q. What is the impulse response of a system whose transfer function is that of ramp function delayed by 7 units in time?

Q. An undamped system is stable.

Q. For negative damping, the system is unstable.

Q. If the poles of a system transfer function are equal and imaginary, the system is ________

Q. The settling time is a measure of _________

Q. If the natural frequency of a system increases, the rise time ________

Q. The time constant of a system is ________

Q. Which of the following command generates the transfer function of a system?

Q. Which of the following command generates the impulse response of a system which has more zeros than poles?

Q. Which of the following command gives the step response characteristics of a control system?

Q. For a step response of the system 1/s2+1, the maximum overshoot is __________