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 Solvers110
Suggested Problems
-
Set the array elements whose value is 13 to 0
1445 Solvers
-
Sum the 'edge' values of a matrix
404 Solvers
-
Matlab Basics - y as a function of x
530 Solvers
-
Replace every 3rd element in a vector with 4
267 Solvers
-
106 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.