Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Click Transform > Differentiated variables in the menu.
  2. Enter a name for the new variable set.
  3. Enter prefix, default: DIFF_
  4. Enter Step duration. For more information, see Step duration
  5. Select Input variables or variable set. 
  6. Select Differential method. For more information, see Newton, Symmetric and High order
    1. The derivative options are:

      1.  Newton: difference quotient (order 1)
      2. Symmetric: difference quotient (order 2)
      3. High order: five-point stencil

  7. Select the Direction, Left or Right. See below that it is the formula used to derive the variable with the Newton method. 
  8. Click Save.
Info
titleDifferentiated Methods

Formula used to derive the variable:

  • Newton: f'(x) = [f(x + 1 )-f(x)]/Step or f'(x) = [f(x)-f(x - 1)]/Step
  • Symmetric: f'(x) = [f(x + 1) - f(x - 1)] / [2 * Step]
  • High order: f'(x) = [-f(x + 2) + 8f(x + 1) - 8f(x - 1) + f(x - 2)] / [12 * Step]

With:

  • x: the index of the row
  • f(x): the value of the variable for row x
  • f'(x): the value of the derivative for row x
  • Step: Value defined by the field Step duration. It is the duration between two rows of the dataset. If Step duration is missing, the default value is 1.


Info
titleDirection

Formula used to derive the variable with the Newton method:

  • Left: f'(x) = [f(x)-f(x - 1)]/Step
  • Right: [f(x + 1 )-f(x)]/Step

With :

  • x: the index of the row
  • f(x): the value of the variable for row x
  • f'(x): the value of the variable the derivative for row x
  • Step: Value defined by the field Step duration. It is the duration between two rows of the dataset. If Step duration is missing, the default value is 1.

...