Re: Pull a uniform sample
- From: "someone " <someone@xxxxxxxxxxxxx>
- Date: Wed, 28 May 2008 19:38:01 +0000 (UTC)
"AMBESAGIR HAGOS" <ambessagir@xxxxxxxxx> wrote in message
<g1kbpt$1ie$1@xxxxxxxxxxxxxxxxxx>...
Hione
I have a model which decides from 20 choices to one each
time. I arranged these 20 probabilities in range adding
to other and take it as a point. Hence i got 20 pointssample?
between 0 and 1. I want to order MATLAB to pull one of the
twenty points randomly. how can i do it using uniform
I am in urgent need of your advice
doc rand
% See Example 5
a = 1; b = 20;
x = a + (b-a) * rand
.
- References:
- Pull a uniform sample
- From: AMBESAGIR HAGOS
- Pull a uniform sample
- Prev by Date: Re: plot two Histograms on single Axis in GUI
- Next by Date: Re: strange cell indexing anomaly
- Previous by thread: Pull a uniform sample
- Next by thread: Re: Pull a uniform sample
- Index(es):
Relevant Pages
|
Loading