Sin(pi*x)/(pi*x) function. (from MATLAB)
sinc(x)
returns a matrix whose elements are the sinc
of the
elements of x
i.e.
y = sin(pi*x)/(pi*x) if x ~= 0 = 1 if x == 0
where x
is an element of the input matrix and y
is the resultant
output element. (T. Krauss, 1-14-93 - (c) 1988-1999 The MathWorks)
See: SQUARE, SIN, COS, CHIRP, DIRIC, GAUSPULS, PULSTRAN, RECTPULS.
(this implementation is needed when generating toy data)
ogp
, ogptrain
, c_reg_gauss
, c_reg_exp
, c_reg_lapl
, demogp_reg
Copyright (c) Lehel Csató (2001-2004)