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.
Back to basics 6 - Column Vector
Simple return on investment
Output any real number that is neither positive nor negative
Is it an Armstrong number?
How to add?
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