Problem 46823. Create a vector of n alternating ones and minus ones (★★)
Solution Stats
Problem Recent Solvers52
Suggested Problems
-
Sum of diagonal of a square matrix
1480 Solvers
-
574 Solvers
-
353 Solvers
-
292 Solvers
-
Rotate a matrix for 180 degree
182 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!