Octave Basics: Difference between revisions
Jump to navigation
Jump to search
→The very basics
No edit summary |
|||
Line 1: | Line 1: | ||
= The very basics = | = The very basics = | ||
<tt>+ | - | * | / | ^ | pi | i | inf | eps | sin | cos | tan | exp | log | log10 | abs | sqrt | sign | round | ceil | floor | fix | = | , | ; | who | clear | help | lookfor</tt> | <tt>+ | - | * | / | ^ | pi | i | e | inf | eps | sin | cos | tan | exp | log | log10 | abs | sqrt | sign | round | ceil | floor | fix | = | , | ; | who | clear | help | lookfor</tt> | ||
x = pi, y = floor (sin (x)), z = log (exp (2013)), z / inf ↵ | x = pi, y = floor (sin (x)), z = log (exp (2013)), z / inf ↵ | ||
= Vectors and matrices = | = Vectors and matrices = | ||
<tt>: | .* | ./ | .^ | ' | .' | \ | length | numel | size | zeros | ones | eye | diag | rand | det | trace | inv | lu | eig | cond | expm</tt> | <tt>: | .* | ./ | .^ | ' | .' | \ | length | numel | size | zeros | ones | eye | diag | rand | det | trace | inv | lu | eig | cond | expm</tt> |