Displaying 1 result from an estimated 1 matches for "vectorsample".
2005 Oct 03
6
sampling vectors
Hello Listers,
I am trying to sample a vector to create a new one of sample length,
witha sum equal to the sum of the initial vector:
initial = 10, 30, 10 (sum=50)
sample example = 5, 35, 10 (sum=50) or 25, 15, 10 (sum=50), etc ...
My problem is to control the sum, so it stays constant.
Any suggestions would be very helpful !
Thank you in advance,
Eric