Generate square wave starting from 0

I want to make square wave with function square which starts from 0 and not with amplitude

 采纳的回答

[zeroes(1,M), ones(1,N)] repeated as necessary .

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by