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 Solvers115
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3737 Solvers
-
1229 Solvers
-
180 Solvers
-
245 Solvers
-
Average of corner elements of a matrix (★★)
88 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!