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
-
Sum the numbers on the main diagonal
620 Solvers
-
Rounding off numbers to n decimals
5797 Solvers
-
Matlab Basics - Assigning Variables
207 Solvers
-
Finding perimeter of a rectangle
498 Solvers
-
Compute LOG(1+X) in natural log
264 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.