PRTools contents |
GENDATLIN
A = GENDATLIN(N,B0,B1,SIGMA)
Input | |
N | Number of objects to generate |
B0 | Offset |
B1 | Slope |
SIGMA | Standard deviation of the noise |
Output | |
A | Regression dataset |
Generate regression data A, containing N (x,y)-pairs according to
y = B0 + B1^T*x + N(0,SIGMA) Data x is distributed uniformly between 0 and 1.
PRTools contents |