SWEEP

 

Langunage type

SubRoutine

FORTRAN

call rd_sweep(x, a, x0, f0, x1, f1, xdot, value, errflg)

or sweep(x, a, x0, f0, x1, f1, xdot, value, errflg)

C/C++

rd_sweep(x, a, x0, f0, x1, f1, xdot, &value, &errflg)

or sweep(x, a, x0, f0, x1, f1, xdot, &value, &errflg)

 

Parameter information

 

Variable Name

Size

Description

x

double

Specify the independent variable.

a

double

The amplitude of the sinusoidal function.

x0

double

Starting point of the SWEEP function (x value

f0

double

Initial sine function frequency.

x1

double

Ending point of the SWEEP function. (x value)

f1

double

Ending frequency of the sine function.

xdot

double

Range in which the SWEEP function is fully active

value

double

 

errflg

logical

If an error is encountered in invoking Predefined subroutine, this variable becomes true. This variable must be declared as a logical variable.