Cody

Problem 42862. Values in Array

Solution 897543

Submitted on 27 May 2016 by Peng Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x = [1 2 5 7 3 67 9 5 3 7 69]; y_correct = 11; assert(isequal(arraysssss(x),y_correct))

Suggested Problems

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!