Problem 2003. Check if integer
Given a vector of elements, determine if each element is an integer and return true or false accordingly.
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
Show commentsProblem Recent Solvers60
Suggested Problems
-
Back to basics 22 - Rotate a matrix
887 Solvers
-
Calculate the area of a triangle between three points
2709 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
791 Solvers
-
Solving Quadratic Equations (Version 1)
480 Solvers
-
Sum of the Multiplication of Vectors
260 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!