Understanding the Interactive Matrix Language

Repetition Factors

A repetition factor can be placed in brackets before a literal element to have the element repeated. For example, the following two statements are equivalent:

  
    answer={[2]  'Yes', [2]  'No'};
 
  
    answer={'Yes' 'Yes', 'No' 'No'};
 
Here is the resulting matrix:
  
                                 ANSWER 
                                 Yes   Yes 
                                 No    No
 

Previous Page | Next Page | Top of Page