Octave Basics: Difference between revisions

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 &crarr;
  x = pi, y = floor (sin (x)), z = log (exp (2013)), z / inf &crarr;
= 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>
Anonymous user