i
Table of Contents
Preface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
Acknowledgements
...........................................
1How You Can Contribute to Octave
...........................
3Distribution
.................................................
3
1 A Brief Introduction to Octave
. . . . . . . . . . . . .
5
1.1 Running Octave
.........................................
51.2 Simple Examples
........................................
5Creating a Matrix
.....................................
5Matrix Arithmetic
....................................
6Solving Linear Equations
..............................
6Integrating Differential Equations
......................
6Producing Graphical Output
...........................
7Editing What You Have Typed
.........................
7Help and Documentation
..............................
81.3 Conventions
............................................
81.3.1 Fonts
..........................................
81.3.2 Evaluation Notation
............................
81.3.3 Printing Notation
...............................
91.3.4 Error Messages
.................................
91.3.5 Format of Descriptions
..........................
91.3.5.1 A Sample Function Description
.........
91.3.5.2 A Sample Command Description
.......
101.3.5.3 A Sample Variable Description
.........
11
2 Getting Started
. . . . . . . . . . . . . . . . . . . . . . . . . . .
13
2.1 Invoking Octave
........................................
132.1.1 Command Line Options
........................
132.1.2 Startup Files
..................................
152.2 Quitting Octave
........................................
162.3 Commands for Getting Help
............................
172.4 Command Line Editing
.................................
182.4.1 Cursor Motion
................................
182.4.2 Killing and Yanking
...........................
192.4.3 Commands For Changing Text
.................
192.4.4 Letting Readline Type For You
.................
202.4.5 Commands For Manipulating The History
.......
202.4.6 Customizing
readline
.........................
222.4.7 Customizing the Prompt
.......................
232.4.8 Diary and Echo Commands
....................
242.5 How Octave Reports Errors
.............................
252.6 Executable Octave Programs
............................
262.7 Comments in Octave Programs
..........................
26