Problem 44729. Pass the Threshold!!

Solution 1615184

Submitted on 23 Aug 2018 by HH
  • Size: 10
  • This is the leading solution.
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))

Suggested Problems

Community Treasure Hunt

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

Start Hunting!