Contents Previous Next Subchapters

O-Matrix Tutorial

Description
The following tutorial provides a walk through of core O-Matrix concepts for many typical data analysis, modelling, and visualization tasks. Working through this sequence typically takes a couple hours and will provide a fairly deep understanding of O-Matrix to enable you to solve a broad range of problems.

The examples in omwin\example, and the Example Navigator provides more in-depth illustrations of a broad range of O-Matrix capabilities as applied in typical analysis applications.

Executing Examples
Each of the sections in the table below contains examples. The easiest way to execute examples in these sections is to use the Windows Copy and Paste functions. As an example, hold down the left mouse button and highlight the following blue text:
     for i = 1 to 5 begin
          print i
     end
Then select the Edit | Copy menu item in you web browser. Then switch to the O-Matrix application, place the cursor in the command line , and select the Edit | Paste menu item in O-Matrix. O-Matrix will reply
     1
     2
     3
     4
     5
in the Command window.

Section Order
1: Starting O-Matrix
2: Exiting O-Matrix
3: The Command Line
4: The Command Window
5: Assigning Values To Variables
6: Representing Matrix Elements In Program Input
7: Building Matrices
8: Printing A List Of Expressions
9: Addition
10: Subtraction
11: Element-By-Element Multiplication
12: Matrix Multiplication
13: Element-By-Element Division
14: Element-By-Element Exponentiation
15: Testing Numeric And Logical Equality
16: Ordered Numeric And Logical Comparisons
17: Order Of Operations
18: If Statement
19: Grouping A Sequence Of Statements As A Block
20: For Statement
21: Elements Of A Vector
22: Elements Of A Matrix
23: Vector Indices
24: Setting Floating Point Output Formats
25: Writing a Matrix to the Screen or a File
26: Reading The Next Row From A File
27: Drawing Line Plots
28: Using Multiple CPUs