manpagez: man pages & more
info octave
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

17. Arithmetic

Unless otherwise noted, all of the functions described in this chapter will work for real and complex scalar, vector, or matrix arguments. Functions described as mapping functions apply the given operation individually to each element when given a matrix argument. For example,

 
sin ([1, 2; 3, 4])
     ⇒  0.84147   0.90930
         0.14112  -0.75680

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.