Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Question about Gaussian Noise Generator?

 
Thread Tools Search this Thread
Old 11-07-2009, 09:37 PM   #1
Default Question about Gaussian Noise Generator?


Hello all,

I have a problem with this. I need to generate 2bit noise with a gaussian distribution (only 4 possible values, 11,10,00 and 01), for this purpose I'm using a LFSR code with 32 bits that gives 32-bits noise with an uniform distribution. Then, I added ten signals from ten LFSR block, each one of 32 bits.

The result of this operation gives numbers with 36 bits. If a consider all bits and I plot them using matlab, gives a gaussian distribution. But when I extract only the 2 most significant bit and I plot the result lost all sense.

Is any other way to obtain with only 2 bit a gaussian distribution??

Thanks for any possible help


oscarvhdl
oscarvhdl is offline   Reply With Quote
Old 11-07-2009, 10:30 PM   #2
jeppe
Senior Member
 
Join Date: Mar 2008
Location: Denmark
Posts: 245
Default
Well - with only 4 possible values theres couldn't be much left of the gaussian distribution - how about a 3,4,5 bit value (just for the test of algorithm)
Jeppe


jeppe
jeppe is offline   Reply With Quote
Old 11-07-2009, 10:38 PM   #3
oscarvhdl
Junior Member
 
Join Date: Nov 2009
Posts: 3
Default
it has to be with only two bits. I need to obtain (for example, with 1000 samples) a distribution like this:

11: 150 times
10: 350 "
00: 350 "
01: 150 "

Thanks anyway


oscarvhdl
oscarvhdl is offline   Reply With Quote
Old 11-08-2009, 08:47 AM   #4
jeppe
Senior Member
 
Join Date: Mar 2008
Location: Denmark
Posts: 245
Default
Lets say your LFSR block was 8-bits instead of 36-bit (just for the example)
Then: 0..127 and 128..255 should be 50% ranges.
If you compare and detect the range 0..50 could you get 15% (just a quess)
-----------------------------------51..127 ----------- 35% -------------
and so on.

Hopefully it helped you


jeppe
jeppe is offline   Reply With Quote
Old 11-08-2009, 03:48 PM   #5
oscarvhdl
Junior Member
 
Join Date: Nov 2009
Posts: 3
Default
Jeppe:

I was thinking the same, I'm going to do these and I look what hapen.

Thanks for all


oscarvhdl
oscarvhdl is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
French And CERN Build Massive Particle Accelerator (Black Hole Generator) Unknown Planetary Risk To Create BIG BANG Doomsday Machine Computer Support 1 05-01-2008 06:36 PM
Noise. TIA sandy58 Computer Information 3 11-04-2007 07:54 AM
Noise. TIA sandy58 Computer Information 0 10-30-2007 09:12 AM
Motherboard general question Jimmy Sledge Computer Information 8 03-10-2007 08:37 AM
Re: Safe Mode Question (A+ question) Gordon Findlay A+ Certification 0 06-16-2004 10:48 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46