Generates two-dimensional sinc test data.
[x,y] = sinc2data(type,n,var,fname,row)
- noisy realisation of
y=a*sinc(|x/d|)
where a=10
and the inputs are divided
with d=20
.
The parameters:
type
- the type of the additive noise. Recognised types are: 'gauss', 'laplace', and 'posexp'.
n
- the number of samples.
var
- the noise parameter (variance).
fname
- the name of the file where to write the samples. If the string is empty (or the function has only three parameters), then no file is written.
row
- if this option is set, then the input positions x
are not random but evenly spaced.
ogp
, ogptrain
, c_reg_gauss
, c_reg_exp
, c_reg_lapl
, demogp_reg
, sincdata
Copyright (c) Lehel Csató (2001-2004)