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.
Any particular reason why we can't use the eval function in the code? My solution using that just gave me the following:
Error: You may not use the command EVAL in your code
I get this message as description of my failing solution: "Undefined function 'cody.verifyCode' for input arguments of type 'char'."
This is frustratingly unclear.
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.
Find the peak 3n+1 sequence value
Sorted highest to lowest?
Back to basics 15 - classes
Say something funny
find radius of cone
Vectorizing, too easy or too hard?
Bang Bang in Bangalore
Distance walked 2D
Use of regexp
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office