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
-
Longest run of consecutive numbers
6405 Solvers
-
Make a vector of prime numbers
960 Solvers
-
507 Solvers
-
359 Solvers
-
11201 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!