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 Solvers37
Suggested Problems
-
303 Solvers
-
Sum the numbers on the main diagonal
586 Solvers
-
Sum of first n positive integers
588 Solvers
-
397 Solvers
-
Element-wise vector product (★)
140 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!