MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Given a vector of elements, determine if each element is an integer and return true or false accordingly.

22 correct solutions
69 incorrect solutions

Last solution submitted on Feb 07, 2015

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)...

4 Comments