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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

given two strings of numeric expressions such as '1-7/14' and '11/22+0.2^2', return 1 if they are numerically exactly equal otherwise return 0.

39 correct solutions
136 incorrect solutions

Last solution submitted on May 25, 2015

2 Comments

Jan Simon
on 4 Mar 2012

I get this message as description of my failing solution: "Undefined function 'cody.verifyCode' for input arguments of type 'char'."
This is frustratingly unclear.

Jan Simon
on 4 Mar 2012

Giving '7/14' as an example and '1+.25/12+1.25^2' in the test code is not misleading. It is impossible to find understand the requirements without seeing the test data set currently.

1 Comment