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 longest sequence of 1's in a binary sequence.
Wind outward from the center ...
Find the biggest empty box
Who invented zero?
Calculate the derivative of a polynomial
Predicting life and death of a memory-less light bulb
Compress strings (not springs)
How to subtract?
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