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 Solvers113
Suggested Problems
-
19617 Solvers
-
Return the first and last characters of a character array
12231 Solvers
-
Find the maximum number of decimal places in a set of numbers
3539 Solvers
-
Arrange vector in ascending order
819 Solvers
-
608 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!