I need to something like a repeating sequence stair, where the output is [1 0]. I need this to repeat a given number of times, for example, 50. Between that, it will be a time of 0.004.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.