1. Two Parameter Expression

1.1. Purpose

Apply a mathematical expression using two input parameters.

1.2. Description

The Two Parameter Expression operation applies a user-defined mathematical function element-wise to paired samples from two input signals. The function uses variables x and y to represent values from the two input signals.

Examples of valid expressions:

  • cos(x+y) - Cosine of the sum

  • x*y - Product of the two signals

  • x+y - Sum of the two signals

  • sqrt(x2+y2) - Magnitude calculation

Content assist is available by pressing Ctrl+Space to see available functions.

The unit of the input signal is preserved. To change units, use the Scale operation.

1.3. Input

Two signal inputs:

  • First input (x): Values assigned to the x variable

  • Second input (y): Values assigned to the y variable

1.4. Output

A signal where each element is the result of applying the mathematical expression to the corresponding elements from the two input signals.

1.5. Parameters

  • Function: The mathematical expression to apply, using x and y as variables.