Tektronix AFG31000 Series User Manual page 138

Arbitrary function generator
Table of Contents

Advertisement

Function introduction
Component
Functions
138
Symbol
Meaning
A hard return ends the line for the range or equation; inserting a return
( ) in the middle of the line partitions.
sin(),
The arguments for these trigonometric functions are in radians.
cos()
For example: range(0,100 s)cos(2*pi*x) or
range(0,100 s)sin(2*pi*1e4*t)
exp(),
Exponential function, common log function, natural log function. The log and
log(),
ln arguments must be positive.
ln()
For example: range(0,50 _s) 1–exp(–5*x) range(50 _s,100 _s)
exp(–5*x)
Example: range (0,100 _s) log(10*(x+0.1))
Example: range (0,100 _s)
sqrt()
The square root; the argument must be a positive value.
abs()
The absolute value.
For example: range (0,100 _s) abs(sin(2*pi*x))
int()
Truncates the fraction to obtain the integer.
For example: range (0,100 _s) int(5*sin(2*pi*x))/5
round()
Rounds off the fraction to obtain the integer.
For example, range (0,100 _s) round(5*sin(2*pi*x))/5
norm()
Normalizes the range specified with range() and scales the amplitude
values so that the maximum absolute value is 1.0 (that is, a value of +1.0 or –
1.0). The norm() statement comprises an entire line.
For example: range (0,100 _s) sin(2*pi*x)+rnd()/10 norm()
max()
Max () t takes the larger of two values. Min () t takes the smaller of two values.
min()
For example: range (0,100 _s) sin(2*pi*x) range (0,50 _s) min
(v,0.5) range (50_s,100 _s) max(v,–0.5)
range()
The equation must specify the time domain. If the time domain is not defined,
this is an error. The time domain is specified with range().
When making a new equation file, range(0), is input in the first line of
equation, then the time is specified. This setting is valid until the next
range item is specified.
With the first range() specification, any number of lines of equation can be
input. Text written after the range() on the same line is invalid. The format
for the range( item. range( Equation starting time, Equation
ending time )).
AFG31000 Series Arbitrary Function Generator User's Manual

Advertisement

Table of Contents
loading

Table of Contents