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
-
Set the array elements whose value is 13 to 0
1444 Solvers
-
648 Solvers
-
373 Solvers
-
Number of Even Elements in Fibonacci Sequence
1668 Solvers
-
177 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!