Problem 45441. Create a vector of n alternating ones and zeros (★★)
Solution Stats
Problem Recent Solvers93
Suggested Problems
-
We love vectorized solutions. Problem 1 : remove the row average.
682 Solvers
-
571 Solvers
-
Find out total non zero element of matrix
225 Solvers
-
549 Solvers
-
Make a checkerboard matrix (★★★★★)
73 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!