This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = unique([1 3 3 3 7 8 10 9]);
y_correct = 29;
assert(isequal(your_fcn_name(x),y_correct))
x = [31 -20 1 2 8 7]
y_correct = -22
assert(isequal(your_fcn_name(x),y_correct))
x =
31 -20 1 2 8 7
y_correct =
-22
|
4107 Solvers
Which values occur exactly three times?
3817 Solvers
1601 Solvers
192 Solvers
129 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!