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
-
Flip the main diagonal of a matrix
864 Solvers
-
Reverse the elements of an array
1075 Solvers
-
1163 Solvers
-
622 Solvers
-
421 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!