Function draws n
points uniformly from the interval [a, b], calculates
the sinc (normalized sinc function) values for that points and adds a normal noise with a standard deviation
of noise
to these values.
1  sincdata(n, noise = 0, a = 4, b = 4)

n 
number of points to generate 
noise 
noise level to add to sinc values, i.e. standard deviation of normal noise 
a 
left bound of interval from which the xs are drawn, 
b 
right bound of interval from which the ys are drawn, 
Randomly generated sinc data
X 
matrix with one column (i.e. a vector, but returned object is a matrix) containing the xvalues 
y 
matrix with one row (i.e. a vector, but returned object is a matrix) containing the yvalues 
Jan Saputra Mueller
http://en.wikipedia.org/wiki/Sinc\_function
1 2 3 4 5 6 7 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.