Create a row vector of length n, filled with 4's. For example, if n = 3,
output = [4 4 4]
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers108
Suggested Problems
-
Determine whether a vector is monotonically increasing
22871 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15781 Solvers
-
Sum of first n positive integers
622 Solvers
-
Count decimal digits of a number
235 Solvers
-
342 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
please fix the description
Filled with "5" not "4".
Test suite and description are incompatible.