Cody

Solution 1630045

Submitted on 18 Sep 2018 by goc3
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
xin = magic(3); t=2; xout =[8 3 4 5 9 6 7]; assert(isequal(threshold(xin,t),xout))

ans = 8 3 4 5 9 6 7