DIAdem Help

Assigning a Value to a Variable in the Calculator

  • Updated2024-09-12
  • 1 minute(s) read

Assigning a Value to a Variable in the Calculator

Use the Calculator to assign values to scalar variables or to single elements in vector variables. To assign a value to a variable in the Calculator dialog box, complete the following steps:

  1. Select the DIAdem ANALYSIS panel.

  2. Click the Calculator.

  3. Enter the assignment in the Formula entry field.

  • You can assign a value to a scalar variable, for example:

    L1 = 34

  • You can assign a formula result to a scalar variable, for example:

R1 = Sin(Pi/2)

  • You can assign a formula result to an element of a vector variable, for example:

RV1(1) = Sin(Pi/2)

  1. Click Calculate after each entry. The Calculator dialog box displays the contents of the variable in the Result bar.

Log in to get a better experience