If x=3 and n=7 then the vector y would be
y=[3 3 3 3 3 3 3]
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers114
Suggested Problems
-
Get the length of a given vector
13525 Solvers
-
Getting the indices from a vector
12264 Solvers
-
find the maximum element of the matrix
542 Solvers
-
674 Solvers
-
1860 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!