How to generate a rectangular signal or wave of ?( ?/6 ) using the sign function.
17 views (last 30 days)
Show older comments
Rajendra Kumar on 21 Oct 2019
MATLAB program to generate rect function ?( ?/6 ) using the sign function.
Yuan Li on 21 Oct 2019
Edited: Yuan Li on 21 Oct 2019
t = 0:0.1:100;
a = sign(sin(pi.*t./6));
Find more on Signal Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!