This calculator serves as a simple tool for mathematical computations, similar to software like MATLAB or Octave, but it is not affiliated with or endorsed by them.
Basic information:
Fraction separator
Use a dot (.) for decimal points
Complex numbers
Use "i" for the imaginary unit, e.g., 0.5 + 2.2i
Matrix input format
Input matrices as [1,2,3; 4,5,6]
Vector shorthand syntax
Create regularly spaced vectors, e.g., 1:10 or 1:5:100
Accessing matrix elements
Use the matrix name like a function, e.g., A(3,5), A(1:3, 1:3), or A(2:end, :)
Matrix concatenation
Concatenate vertically with [A;B] or horizontally with [A,B]
Hexadecimal and binary
Enter hexadecimal as 0xFF and binary as 0b1111
Variable definition
Define variables using a = 2 * 7
The "ans" variable
Holds the result of the previous calculation
Defining functions
Define functions with myFunction : x, y -> x + y
Using functions
Call functions like this: myFunction(3, 5)
Command navigation
Use the arrow keys to navigate through the command history
Smart paste
Pasting multiline, tab-separated data converts it into a matrix
Comments with '%'
Use '%' to start a comment; everything after '%' is ignored until the end of the line
Preferences
You can customize the calculator behavior by setting preferences. Type 'help preferences' for more information.
Commands:
who
Shows all defined variables
functions
Shows all defined functions
history
Displays the command history
clc
Clears the screen without deleting functions or variables from memory
save
Saves all variables and functions to a file (Chrome only)
load
Loads variables, functions, CSV, or GPX files (Chrome only)
help <name>
Displays help for the specified command or function
functions <name>
Displays the specified function
clear <name>
Removes the specified functions or variable from memory