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 Solvers133
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2913 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10252 Solvers
-
386 Solvers
-
5188 Solvers
-
194 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!