Code covered by the BSD License  

Highlights from
calc

Be the first to rate this file! 11 Downloads (last 30 days) File Size: 2.88 KB File ID: #30747
image thumbnail

calc

by Jordi Palacin

 

14 Mar 2011

calc.m is a basic and simple calculator in a single script file.

| Watch this File

File Information
Description

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)

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
gui Jordi Palacin 14 Mar 2011 15:31:03
gui gaurav patel 15 Mar 2011 08:43:44

Contact us at files@mathworks.com