Problem 42347. Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.
Solution Stats
Problem Comments
-
1 Comment
Ned Gulley
on 17 Jun 2015
I fixed the test.
Solution Comments
Show commentsProblem Recent Solvers137
Suggested Problems
-
18636 Solvers
-
Find the sum of the elements in the "second" diagonal
1149 Solvers
-
Getting the row and column location from a matrix
286 Solvers
-
Flip the vector from right to left
8994 Solvers
-
Height of a right-angled triangle
1816 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!