MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > probability 

hi. i want to familiarise myself with probability in matlab, and eventually write like a matlab casino for fun. currently im going to code a roulette wheel. what functoins would be best suited for probability. ages ago i wrote a version of this where i took the random number generation function (cant remember what its called) and had to multiply it by 32 or somethign, and then use another function to see whether the number was even. not very efficient for betting odd or even. 
You mean like this:? 
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <5953beb80d4a445ebd4f1b62e06eca0f@g25g2000yqn.googlegroups.com>... 
On 06/12/10 12:25 AM, Stuart wrote: 
On 12/6/2010 1:25 AM, Stuart wrote: 


A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.