Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1; n = 5;
y_correct = [1 1 1 1 1];
assert(isequal(repeat_ntimes(x,n),y_correct))
|
2 | Pass |
x = 3; n = 7;
y_correct = [3 3 3 3 3 3 3];
assert(isequal(repeat_ntimes(x,n),y_correct))
|
Output any real number that is neither positive nor negative
316 Solvers
MATCH THE STRINGS (2 CHAR) very easy
250 Solvers
338 Solvers
323 Solvers
127 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!