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
-
9148 Solvers
-
Find the longest sequence of 1's in a binary sequence.
6697 Solvers
-
1626 Solvers
-
Find the dimensions of a matrix
561 Solvers
-
4521 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!