Problem 339. exactly?
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.
Solution Stats
Problem Comments
-
1 Comment
James
on 29 Aug 2012
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
Solution Comments
Show commentsProblem Recent Solvers55
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2923 Solvers
-
Check to see if a Sudoku Puzzle is Solved
319 Solvers
-
Create a function handle that reverses the input arguments of another function handle
145 Solvers
-
Compute a dot product of two vectors x and y
972 Solvers
-
Determine if input is a perfect number
219 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!