Specifying Time Series Data as Vectors or Matrices

GoldSim allows you to define a time series of vector or matrix data. If you define your element as a vector or matrix, rather than inputting a single data value for each time point, you specify a set of data values (one for each item of the vector or matrix) at each time point.

To define your element as a vector, press the Type… button on the dialog. The following dialog will appear:

From the Order drop-list select “Vector (1-D Array)”. You will then need to specify a set of Row Labels.

If you specify the time series as a vector, the dialog for defining the data records for your time series (accessed via the Edit Data… button) will look similar to this:

There is one data column for each item of the vector. In this example, the vector has three items (Gold, Silver, Platinum). Note that each data column is labeled with the vector’s array labels.

To define your element as a matrix, select “Matrix (2-D Array)” as the Order when defining the Type. You will then need to specify a set of Row Labels and a set of Column Labels.

If you specify the time series as a matrix, the dialog for defining the data records for your time series (accessed via the Edit Data… button) will look similar to this:

In this case, a scroll bar at the bottom of the dialog allows you to scroll to see all of the columns.

There is one data column for each item of the matrix. In this example, the matrix has three rows (Gold, Silver, Platinum) and 4 columns (NE, SE, SW, NW).  Hence, there are 12 items (12 data columns).  Note that each data column is labeled with the matrix's array labels (row, column).

The example file (ArrayTimeSeries.gsm) in the TimeSeries subfolder of the General Examples folder of your GoldSim directory (accessed by selecting File | Open Example... from the main menu) includes an example of how a Time Series can be defined as a vector or a matrix.

Related Topics…

Learn more about: