Problem 46823. Create a vector of n alternating ones and minus ones (★★)
Solution Stats
Problem Recent Solvers43
Suggested Problems
-
730 Solvers
-
Area of an equilateral triangle
4413 Solvers
-
450 Solvers
-
224 Solvers
-
Replace every 3rd element in a vector with 4
202 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!