Given a vector of elements, determine if each element is an integer and return true or false accordingly.
Solution Stats
Problem Comments
4 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers68
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15821 Solvers
-
Flip the main diagonal of a matrix
927 Solvers
-
Determine Whether an array is empty
819 Solvers
-
Find the maximum number of decimal places in a set of numbers
3615 Solvers
-
6704 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!
Thanks for the corrections. Test cases are corrected now.
great (and one more thing, on test 6 I believe y_correct should have 5 elements instead of 4)
Again agree with Alonso: Test 6 is not correct.
My apologies. Test case 6 is corrected now.