Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 172850;
y_correct = [1 7 2 8 5 0];
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x = 1455;
y_correct = [1 4 5 5];
assert(isequal(your_fcn_name(x),y_correct))
|
3 | Pass |
x = 1;
y_correct = [ 1 ];
assert(isequal(your_fcn_name(x),y_correct))
|
Determine Whether an array is empty
646 Solvers
412 Solvers
379 Solvers
Matlab Basics - Switching Assignments
171 Solvers
Create a vector with n repeated values of a number x (★★)
60 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!