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.
Number of toolboxes?
Matrix which contains the values of an other matrix A at the given locations.
Is the input divisible by 3?
radius of a spherical planet
surface of a spherical planet
give nth decimal place of pi
Distance walked 2D
Person of interest?
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