discreteSample

(method of femComponent)

draw a random sample

Syntax

ori = discreteSample(odf,npoints,'param1',val1,'param2',val2)