Problem 45441. Create a vector of n alternating ones and zeros (★★)
Solution Stats
Problem Recent Solvers102
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2587 Solvers
-
318 Solvers
-
467 Solvers
-
10123 Solvers
-
470 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!