STDEV Standard Deviation of Trace Amplitudes

STDEV

Standard Deviation of Trace Amplitudes

Returns the standard deviation of the trace amplitude in measurement units.
Syntax
function path only
9
user-defined trace
I
XSTDEV
Item Description/Default
RanBe
User-defined trace A trace deEned by the TRDEF command. Any valid trace name.
Trace range A segment of trace A, trace B, trace C, or a user-defined trace.
Prerequisite Commands: TRDEF when using a user-defined trace. TS when using trace data.
Related Commands: MEAN, PDA, PDF, VARIANCE.
Example
The following program segment finds the standard deviation of the amplitude of trace A.
OUTPUT 718;
“IP;
OUTPUT 718
;
“SNGLS
;
OUTPUT
718;“CF
300MHZ;SP 2MHZ;RB
IOOKHZ;”
OUTPUT 7 18
;
“TS
;
OUTPUT
718;“STDEV
TRA?;”
ENTER
718;Number
PRINT “THE STANDARD DEVIATION OF TRACE A
;Number/lOO;
“DB”
Initializes spectrum
analym
Activates single-sweep
mode.
Changes the center
fre-
quencg,
span, and reso-
lution bandwidth.
!Rxkes
sweep.
Finds the standard de-
viation of trace A.
Get the response
from
the spectrum analyzer:
Programming Commands
5-629