This manual is the definitive guide to GNU Octave, an interactive environment for numerical computation. GNU Octave provides a convenient command-line interface for solving linear and nonlinear problems using vectors and matrices. This updated edition of the manual covers version 4.2.1 of GNU Octave, and includes documentation for new features such as the new graphical userinterface, sparse matrices, linear programming and computational geometry. GNU Octave is free software, distributed under the GNU General Public License (GPL).