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 2, Sum of even Fibonacci
2923 Solvers
-
Who has power to do everything in this world?
491 Solvers
-
5999 Solvers
-
Element by element multiplication of two vectors
399 Solvers
-
Number of Even Elements in Fibonacci Sequence
1696 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!