What is the output of the following code? [code]plot(linspace[0,3*pi],square[linspace[0,3*pi]]);[/code]

Ngô Quốc Huy

New member
What is the output of the following code?
Code:
plot(linspace[0,3*pi],square[linspace[0,3*pi]]);
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
 

Tìm kiếm

Back
Top