Problem 45441. Create a vector of n alternating ones and zeros (★★)
Solution Stats
Problem Recent Solvers102
Suggested Problems
-
3941 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
825 Solvers
-
566 Solvers
-
347 Solvers
-
157 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!