Problem 46823. Create a vector of n alternating ones and minus ones (★★)
Solution Stats
Problem Recent Solvers43
Suggested Problems
-
Sum all integers from 1 to 2^n
11149 Solvers
-
2006 Solvers
-
Switch matrix to a column vector
301 Solvers
-
428 Solvers
-
6352 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!