Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need a good random generator for matlab

Status
Not open for further replies.

spaaai

Newbie level 5
Newbie level 5
Joined
Mar 7, 2005
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,357
matlab random generator

Does anybody know where to get a Matlab file that generates very close to independent random samples? If you look at the higher order statistics of rand or randn, they are not as independent as I would like them to be. Any suggestions?
 

matlab + randn + order statistics

there are some web site that you can coolect randome bit numbers so that could help
 
  • Like
Reactions: aprodayem

    spaaai

    Points: 2
    Helpful Answer Positive Rating

    aprodayem

    Points: 2
    Helpful Answer Positive Rating
how to build a random generator in matlab

I didn't think about downloading random data instead of generating it ... I will try that thanks. I found the following web page if anyone is interested h**p://www.fourmilab.ch/hotbits/ where you can download random bits.
 

matlab random generator how good

spaaai said:
Does anybody know where to get a Matlab file that generates very close to independent random samples? If you look at the higher order statistics of rand or randn, they are not as independent as I would like them to be. Any suggestions?

hi,

inorder for u to generate random numbers, u could use the PN sequence generator, the LFSR technique.. ofcourse its not completely random, u would know.. but to the extent u need... it can be random.. the commands u told in matlab are all already mentioned to be UNIFORMLY DISTRIBUTED or GAUSSIAN DISTRIBUTION...

inorder to have a extremely random signal, either u should have a very good strong basic on probability topics with which u could generate randomness as high as repitition rate of the number < 0.01 % and also, the other way is to use hardware generators like noise from a device... like zener diode etc...

hope it helped.

/cedance
 
random generator, matlab

spaaai said:
Does anybody know where to get a Matlab file that generates very close to independent random samples? If you look at the higher order statistics of rand or randn, they are not as independent as I would like them to be. Any suggestions?

For random number generation, pls refer the following book: "numerical recipes in C- the art of scientific computing" . There is one chapter specially addressing this issue. The book could be googled and downloaded.

regards,
Joshuashi
 

random generator matlab

cedance said:
... the other way is to use hardware generators like noise from a device... like zener diode etc...
Would you please elaborate in more detail how do we build a hard generators like noise from a zener diode? Many thanks.
 

how good random generator matlab

nicleo said:
cedance said:
... the other way is to use hardware generators like noise from a device... like zener diode etc...
Would you please elaborate in more detail how do we build a hard generators like noise from a zener diode? Many thanks.

hi nicleo,

here s one link i googled ...

/http://www.ciphersbyritter.com/NOISE/NOISRC.HTM

there are many hits in google. u could get them. they are seemed to have more privacy, i mean more security than the ordinary generated using the distributions...

/cedance
 

matlab rand generator

some helpful replies, thanks. The web page I mentioned above generates the random data through radioactive decay. I guess its along the same lines as using noise from electrical components.
 

random bit generator matlab

Does anyone have any links or materials on using pi for random number generation? Is there any information on its higher-order statistics and some measure relating this to the length, i.e number of decimal places.
 

a good method for random number generation would be to pick out the time in microseconds from the system clock with a precision of 6 digits at random intervals. Have not written code for this in matlab, but it is very easy to write it using C.
 

urbanfreak said:
a good method for random number generation would be to pick out the time in microseconds from the system clock with a precision of 6 digits at random intervals. Have not written code for this in matlab, but it is very easy to write it using C.

see, u are generating a random number by using the random function inbuilt in C which again is not completely random... so ur design cant be near optimal random. the random number generation definition, when u say must not contain/use an existing non-optimal random number generation.

btw, do u know what is ur approximate interval of the bit repitition.. i mean the probability of occurence or measure of randomness??

/cedance
 

joshuashi said:
spaaai said:
Does anybody know where to get a Matlab file that generates very close to independent random samples? If you look at the higher order statistics of rand or randn, they are not as independent as I would like them to be. Any suggestions?

For random number generation, pls refer the following book: "numerical recipes in C- the art of scientific computing" . There is one chapter specially addressing this issue. The book could be googled and downloaded.

regards,
Joshuashi


hi joshuashi,
is there ebook version of it?

(numerical recipes in C - the art of scientific computing)
 

banh said:
joshuashi said:
spaaai said:
Does anybody know where to get a Matlab file that generates very close to independent random samples? If you look at the higher order statistics of rand or randn, they are not as independent as I would like them to be. Any suggestions?

For random number generation, pls refer the following book: "numerical recipes in C- the art of scientific computing" . There is one chapter specially addressing this issue. The book could be googled and downloaded.

regards,
Joshuashi


hi joshuashi,
is there ebook version of it?

(numerical recipes in C - the art of scientific computing)

You could find it under:
**broken link removed**

Joshuashi
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top