Replacing all matrix values

1.  Open a Matrix editor window with the matrices of your choice (Opening matrices).

2.  Click the  Set value(s) icon.

The Select the operand for 'Set value(s)...‘ on the total matrix window opens.

3.  Make the desired changes.

Element

Description

Select matrix directly

Select this option to replace the matrix values by the values of a matrix listed in the navigator.

Tip

The navigator lists the same matrices as the Matrices window (Showing matrices in the Matrices window).

Origin/destination attribute (zone)

If the Select matrices by properties is selected, the matrix values are replaced with the values of a zone attribute.

Origin

Select this entry to replace the matrix value of each OD pair ij by the attribute value of the origin zone i.

Destination

Select this entry to replace the matrix value of each OD pair ij by the attribute value of the destination zone j.

Note

This function is provided for Visum matrices only.

Load matrix from file

Select this option to replace the matrix values with the values of an external matrix. Click the button to select the matrix file of your choice.

Constant

Select this option to replace your matrix data by a constant. Enter the constant into the input field (Replacing all matrix values).

4.  Confirm with OK.

The matrix values are replaced.

Note: To set all matrix values to zero, on the Matrix editor window toolbar, click the  Initialize or go to Matrix editor > Initialize.

If you select one or several matrices as operands, the number of zones and the zone numbers do not have to be identical with those of the matrices in the Matrix editor window. Arithmetic operations, however, are only performed on matrix values with identical OD pairs. If the matrices do not have identical OD pairs, the following applies:

  • If you choose a matrix as operand that does not have an OD pair, the matrix value null is used.
  • OD pairs that do not exist in the Matrix editor window will not be taken into account.