Version 3 (modified by MarcusWalther, 12 years ago) (diff)


Return to command index

compute RMS

command: RMS <trc> <lo-bound> <hi-bound> [<symbol>]

Computes RMS value for a trace or a part of a trace (sums all squared samples, divides through number of samples and takes square root). The resulting value is copied to the symbol specified or written to screen.


  • <trc> parameter type: trace
    Trace to compute rms.
  • <lo-bound>, <hi-bound> parameter type: real
    Time window used for RMS calculation, if not defined all trace will be used.
  • <symbol> parameters type: output symbol
    Variable to take the resulting rms value.


rms 1 ;;; &g1
computed RMS value of whole trace 1 and puts result into variable G1