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 |
x = [1 4 3 8];
y_correct = 12;
assert(isequal(your_fcn_name(x),y_correct))
ans =
12
|
2 | Pass |
x = [78 1 7];
y_correct = 78;
assert(isequal(your_fcn_name(x),y_correct))
ans =
78
|
480 Solvers
Matlab Basics - Pick out parts of a vector
198 Solvers
Calculate square and cube of number
248 Solvers
353 Solvers
Find the Oldest Person in a Room
5089 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!