Analog Waveform Editor

Inserting Formula Primitives

  • Updated2023-04-26
  • 2 minute(s) read

You can create primitives from a formula you specify. To create a formula primitive, complete the following steps:

  1. Select Formula from the list box of primitive types.
  2. Enter the formula in the Formula box. If the formula is valid, the LED next to the box is green. If the formula is invalid, the LED is red.
    Tip  To select from a list of previously entered formulas, click on the arrow on the right side of the formula box.
  3. To add specialized functions such as square root and log, click Insert Function below the formula box and select a function from the shortcut menu.

Formula Primitive Variables

The formula primitive uses the lowercase letter x as its variable, and this variable corresponds to samples. The formula is always a function of samples even if you are viewing in terms of time.

Note  For variable and function names, only lowercase letters are allowed. The primitive interprets capital letters as errors. All numbers in exponential notation use the 1E-1 convention with the capital letter E. Using 1e-1 with the lowercase letter e results in an error message.

Formula Primitive Functions

Formula Primitive Operators