Ngô Quốc Huy
New member
What is the output of the following code?
A. A square wave from 0 to 3*pi
B. A square wave with 50% duty cycle from 0 to 3*pi
C. A square wave with 50% duty cycle
D. Error
Code:
plot(linspace[0,3*pi],square[linspace[0,3*pi]]);
B. A square wave with 50% duty cycle from 0 to 3*pi
C. A square wave with 50% duty cycle
D. Error