calc
This is a basic calculator in a single script file.
It works on Matlab 7.0.1 and upper.
Usage: type "calc" on the command line. Remember to add the "calc path" to the path list to use it regardless or the current directory.
Some examples:
[AC] [1000] [+] [18] [%] [=] 1180
[AC] [1000] [+] [18] [±] [%] [=] 820
[AC] [1000] [-] [18] [%] [=] 820
[AC] [100] [+] [10] [=] 110
[AC] [100] [+] [10] [±] [=] 90
[AC] [100] [+] [10] [C] [20] [=] 120
[AC] [100] [+] [10] [=] 110 [=] 120 ([=]repeats the last operation)
Cite As
Jordi Palacin (2024). calc (https://www.mathworks.com/matlabcentral/fileexchange/30747-calc), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |