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
1479 Solvers
-
Create a vector whose elements depend on the previous element
534 Solvers
-
669 Solvers
-
1164 Solvers
-
76 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!