Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function
Sampling without replacement
s = samwr(sizam,numsamp,X)
integer. Size of a sample. It must be less or equal than size of X.
integer. Number of samples to be extracted.
column vector. It contains the population.
matrix of type sizsam x numsamp. It contains numsamp random samples (the columns) each of sizam (size(X,'*')) extractions, without replacement, from the column vector X.
Gives samples without replacement from a column vector.
a=[0.33 1.24 2.1 1.03] s=samwr(4,12,a)
|Report an issue|
|<< samplef||Sampling||Summaries >>|