Problem 52005. Vector creation using colon operator
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use the colon (:) operator.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers40
Suggested Problems
-
Select every other element of a vector
35985 Solvers
-
Back to basics - mean of corner elements of a matrix
455 Solvers
-
377 Solvers
-
Replace every 3rd element in a vector with 4
263 Solvers
-
1026 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!