discreteSample edit page

draw a random sample

Syntax

ori = discreteSample(component,npoints,varargin)