Problem 710. Replace Vector Elements
56.83% Correct | 43.17% Incorrect
Last Solution submitted on Mar 03, 2023
Grzegorz Knor on 23 May 2012
Please add more tests, because it is easy to cheat :)
G K on 27 May 2013
ambiguous about what happens to numbers between [0,0.1] : ill-defined problem or poor-testsuite
John Hovestadt on 15 Dec 2016
Reza Ahmadzadeh on 23 May 2012
??? What is this man???
Ned Gulley on 23 May 2012
He probably noticed that you had already set x to the correct answer in your test suite. All he (or anybody else) has to do is pass it back to you. Try removing the FOR loop from your test (and add some more tests while you're in there!).
Problem Recent Solvers454
Find the numeric mean of the prime numbers in a matrix.
Back to basics 19 - character types
Cell Counting: How Many Draws?
More from this Author11
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!