About Creating Arrays and Tables
Creating Arrays
Vectors and matrices can be created in a number of ways:
• Using the Matrices/Tables tab on the main Ribbon.
• Using keyboard shortcuts
• Importing data from a file
• Defining a matrix using the index operator, a range and a formula relating the value of an array element to its indices
• Using functions that generate special matrices. For example, the function
identity returns an
n × n matrix whose diagonal elements are set to 1's while the remaining elements are set to 0's.
Creating Tables
Tables can be created in one of two ways:
• Using the Matrices/Tables tab on the main Ribbon.
• Using keyboard shortcuts
Additional Information
• You can assign a variable name to a matrix and use it in any calculation.
• Arrays cannot contain empty elements. Insert a NaN in any array element for which you have no real value.
• Defining elements individually or out of sequence may result in creating large matrices, or matrices with some elements set unexpectedly to 0.