Simulate a bootstrap resample
z=rboot(x) z=rboot(x,b)
a nrows-by-ncols matrix of doubles
a 1-by-1 matrix of doubles, the number of bootstrap resamples (default b=1)
a nrows-by-(ncols*b) matrix of doubles
rboot(x)
gives a resample of x.
rboot(x,b)
gives b columns of resamples. This form works
only for x one-dimensional, ie x column vector.
If x is a row vector, it is converted into a column vector.
If x is a matrix, the resamples are stored in the columns of z:
z=[z1,z2,...,zb]