This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
A = [3 4 7];
y_correct = 1;
assert(isequal(your_fcn_name(A),y_correct))
x =
1
|
17465 Solvers
3892 Solvers
Getting the indices from a vector
3206 Solvers
167 Solvers
2617 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!