Problem 42480. Go back n times
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Alfonso Nieto-Castanon
on 31 Jul 2015
I imagine you are going to need to use "isequalwithequalnans" in your testsuite instead of "isequal" for this problem
Mehmet OZC
on 1 Aug 2015
Now, I have changed the assert statement
Massimo Zanetti
on 26 Oct 2016
Example is wrong. Input vector x must be
x = [1; 2; 3; 4; 5; 6]
not
x = [1; 2; 3; 4; 5; 6; 7; 8]
Aditya Jain
on 26 Oct 2016
Thanks Massimo. Changed it
Solution Comments
-
2 Comments
Alfonso Nieto-Castanon
on 1 Aug 2015
I believe in tests 3&4 you may be missing a 3 here and there?
Mehmet OZC
on 1 Aug 2015
That's right, I have fixed it too
Problem Recent Solvers41
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
14638 Solvers
-
379 Solvers
-
342 Solvers
-
683 Solvers
-
Find the square of the sum of the digits of a number
149 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!