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

20 Ansichten (letzte 30 Tage)
MATLAB program to generate rect function ?( ?/6 ) using the sign function.

Antworten (1)

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

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by