File Exchange

image thumbnail

calc

version 1.0.0.0 (2.88 KB) by Jordi Palacin
calc.m is a basic and simple calculator in a single script file.

1 Download

Updated 14 Mar 2011

View License

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)

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
gui

MATLAB Online Live Editor Challenge

View the winning live scripts from faculty and students who participated in the recent challenge.

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video