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 Solvers25
Suggested Problems
-
Remove all the words that end with "ain"
2690 Solvers
-
246 Solvers
-
Back to basics 23 - Triangular matrix
1134 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
892 Solvers
-
Test if a number is numeric or not
141 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!