Understanding the Interactive Matrix Language

Scalar Literals

The following example statements define scalars as literals. These are examples of simple assignment statements, with the matrix name on the left-hand side of the equal sign and the value on the right-hand side. Notice that you do not need to use braces when there is only one element.

  
    a=12; 
    a=. ; 
    a='hi there'; 
    a="Hello";
 

Previous Page | Next Page | Top of Page