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".
Back to basics 12 - Input Arguments
467 Solvers
Vectorize the digits of an Integer
236 Solvers
Calculate the area of a triangle between three points
281 Solvers
Back to basics - mean of corner elements of a matrix
237 Solvers
54 Solvers