Parse and evaluate expressions like these:
'1 + 2' '51 - 78' '42 * 9'
The only operators are +, -, *.
Both arguments will be integers between -50 and 50.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers26
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3069 Solvers
-
Project Euler: Problem 5, Smallest multiple
1673 Solvers
-
Set the array elements whose value is 13 to 0
1451 Solvers
-
617 Solvers
-
Mysterious digits operation (easy)
327 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!