int kgen_sinec(
int num,
double sample,
double amp,
double freq,
int center,
double *vect)
INPUT
num - number of elements in vector
sample - sampling frequency
amp - amplitude of signal
freq - frequency of signal
center - centering option:
0 - center the sync on the data set
(i.e. the zero point of the
data is at the midpoint of
vect)
1 - left justify the sync (the center
of the data is at vect[0],
and you only get the right
hand side of the sinc)
OUTPUT
vect - a vector containing the generated sinc data set.
RETURN VALUE
TRUE (1) on success, FALSE (0) otherwise
DESCRIPTION
kgen_sinec() generates a one dimensional sinc data set. The
sinc function is defined as sin(x)/x.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/klibm/src/signal.c
SEE ALSO
klibm(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.