Problem 45441. Create a vector of n alternating ones and zeros (★★)
Solution Stats
Problem Recent Solvers106
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
44005 Solvers
-
Magic is simple (for beginners)
6541 Solvers
-
418 Solvers
-
733 Solvers
-
Solve a System of Linear Equations
8773 Solvers
More from this Author52
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!