EvalEquation
This function can be used to evaluate an (list of) equation(s) written as string (char-array). It is based on the Shunting-yard algorithm
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Dirk-Jan Kroon (2026). EvalEquation (https://nl.mathworks.com/matlabcentral/fileexchange/68458-evalequation), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.7 (5.59 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.7 | Fixed bug in parsing a number like -1.e-31 |
||
| 1.0.6 | Added text |
||
| 1.0.5 | Added the missing file.. |
||
| 1.0.4 | Added multi-line support in EvalEquationScript |
||
| 1.0.3 | Now explicit support of arrays as value of an input variable.
|
||
| 1.0.2 | Support for more operators and functions |
||
| 1.0.1 | Added supported functions: sqrt abs sin cos tan asin acos atan exp |
||
| 1.0.0 |