How to generate a rectangular signal or wave of ?( ?/6 ) using the sign function.

19 次查看(过去 30 天)
MATLAB program to generate rect function ?( ?/6 ) using the sign function.

回答(1 个)

Yuan Li
Yuan Li 2019-10-21
编辑:Yuan Li 2019-10-21
t = 0:0.1:100;
a = sign(sin(pi.*t./6));
figure,plot(t,a);
ylim([-1.5 1.5]);

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by