This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Lingjun Ding
on 10 Jan 2021
this won't work when the point is not in middle of 2 elements, for example a=3.3 in test 1
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!