help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Choose index into array of probabilities


From: Masatran (Deepak), R.
Subject: Choose index into array of probabilities
Date: Thu, 24 Aug 2006 23:38:49 +0530

I have an array, of probabilities which add up to 1. How can I generate an
index into this array with each array cell being chosen with probability
equal to the cell value?
-- 
http://research.iiit.ac.in/~masatran/

Attachment: pgpnVEooXvjfz.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]