Create a row vector of length n, filled with 4's. For example, if n = 3,
output = [4 4 4]
Hint:
Search for the function 'ones' in MATLAB help.
Example: y = ones (1,5) = [1 1 1 1 1]
please fix the description
Filled with "5" not "4".
14358 Solvers
135 Solvers
Matlab Basics II - Max & Index of Max
133 Solvers
123 Solvers
91 Solvers