Problem 2003. Check if integer
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Pavan Toraty
on 18 Nov 2013
Thanks for the corrections. Test cases are corrected now.
Alfonso Nieto-Castanon
on 18 Nov 2013
great (and one more thing, on test 6 I believe y_correct should have 5 elements instead of 4)
J.R.! Menzinger
on 18 Nov 2013
Again agree with Alonso: Test 6 is not correct.
Pavan Toraty
on 18 Nov 2013
My apologies. Test case 6 is corrected now.
Solution Comments
-
1 Comment
Alfonso Nieto-Castanon
on 17 Nov 2013
vectors can only contain values with the same "data type", so tests 4&5 are not really working as expected (e.g. all values in x for test 4 are being converted to uint8)...
Problem Recent Solvers58
Suggested Problems
-
Return a list sorted by number of occurrences
2120 Solvers
-
Number of 1s in the Binary Representation of a Number
404 Solvers
-
714 Solvers
-
Deleting an element in a matrix
442 Solvers
-
299 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!