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

Learn moreOpportunities for recent engineering grads.

Apply TodayCovering some basic topics I haven't seen elsewhere on Cody.

Given 2 input variables, output true if they are equal, false otherwise. Note that the function should assume NaN's are equal to each other.

236 correct solutions
310 incorrect solutions

Last solution submitted on Nov 26, 2015

1 player likes this problem

1 Comment

Ahsan Zamee
on 21 Feb 2015

i though this would simply worked by isequal function, but its not for the 2nd test suite, why its happening?

1 Comment

Pavan Toraty
on 30 Oct 2013

Can add more test cases with data including 'inf' to fail my solution.

1 Comment