Search Engine **www.edaboard.com**

## Generate Random Bits Matlab |

Are you looking for?:

generate random numbers matlab , generate random noise matlab , generate random numbers , random sequence matlab

generate random numbers matlab , generate random noise matlab , generate random numbers , random sequence matlab

1000 Threads found on edaboard.com: **Generate Random Bits Matlab**

Do a for loop to **generate** N times 32-bit **random** numbers, and concatenate it to get your 10000 **random** **bits**. And obviously $**random** only works in simulation, not in real hardware.

PLD, SPLD, GAL, CPLD, FPGA Design :: 08-14-2013 07:51 :: mrflibble :: Replies: **5** :: Views: **329**

Software Problems, Hints and Reviews :: 05-25-2013 10:03 :: errakeshpillai :: Replies: **2** :: Views: **389**

I guess you CAN'T! All that you can do with logic gives you more or less PSEUDO-**random** sequences.
True **random** sequence can be **generate**d using the help of noise generator. There is an application note on the web (can't recall the magazine nor the name of the article right now, sorry) that uses Zener diode as broadband noise generator, (...)

ASIC Design Methodologies and Tools (Digital) :: 05-23-2005 17:26 :: rfmw :: Replies: **5** :: Views: **3857**

Hi all...
i'd like to **generate** **random** position of MSs in a certain area. Anyone can help me??? This is sould be easy...i've tried 'rand' function, but i didn't work.
Looking forward to ur help..
thanks.

Digital communication :: 09-03-2006 21:52 :: pichan :: Replies: **1** :: Views: **936**

use prbs (Pseudo **random**-Bit Generator Source)
in hspice
it can **generate** **random** codes of 1/0
see maunal hspice_sa for more details ..

Software Problems, Hints and Reviews :: 12-10-2009 02:23 :: ankitgarg0312 :: Replies: **2** :: Views: **2531**

OK.
Take into account that the above code **generate**s uniformly distributed numbers in the range (14 **bits**).
Regards
Z

Microcontrollers :: 10-20-2009 21:22 :: zorro :: Replies: **7** :: Views: **2457**

do you need a transmitter or receiver code? here is a code following you may use that code or compare your code with this one for any correction/improvement.
for more info visit
check this link also
qpsk **matlab** code
Code starts from here, visit th

PC Programming and Interfacing :: 02-18-2010 00:05 :: hanif :: Replies: **1** :: Views: **1294**

hi
I want to know how to **generate** **random** NRZ signals in Cadence IC design tool.
I want to simulate the transient output of my CDR circuit. And want to input **random** NRZ signal into it.
Also, I want to plot the output as eye diagram.
I want to know how to do above things in the Cadence IC environment.
Thank you.

Analog Circuit Design :: 03-01-2005 22:33 :: beabroad :: Replies: **2** :: Views: **2106**

Just try this
samples=10000; %whatever number of samples you want
Z=rand(1,samples);
Z(find(Z<=0.25))=-1;
Z(find(Z>=0.75))=1;
Z(find(Z>=0.25&Z<0.5))=-j;
Z(find(Z>=0.5&Z<0.75))=j;
what u have written is for baseband i suppose.. and more over, urs doesnt strictly follow any **random** distributiom.. i mean for more valu

Digital Signal Processing :: 03-08-2005 15:10 :: cedance :: Replies: **4** :: Views: **7653**

Hi there,
How can I **generate** **random** output on 8bit port of PIC uC?
Thanks
Real **random** or pseudo **random**?
A small overview in **random**
Gomez

Microcontrollers :: 12-20-2005 12:01 :: Gomez :: Replies: **1** :: Views: **596**

I want to Know Wireless Sourcecode For **generate** Signalling in **matlab**
Thank Ka;...

Software Problems, Hints and Reviews :: 09-02-2006 10:54 :: Noo10 :: Replies: **0** :: Views: **463**

hai,
what do you mean wireless coding for signalling.
generally,we **generate** some binary data (using randn and round/ceil)
then mdulate the data (using ddmod function for digital modulation)
and you can plot the waveform.
in,other way you can **generate** waveforms using Signal Processing Toolbox
Waveform Generation

Digital communication :: 09-08-2006 02:40 :: geetha :: Replies: **4** :: Views: **954**

Hi,
try with "rand" function in C.
Example:
#include
unsigned int result;
.....
result = rand(0x1111);
here it is from Keil help:
The rand function returns a **random** number in the range 0 to +32767. The **random** number generator is reinitialized each time a non-zero value is passed in the seed argumen

Microcontrollers :: 10-19-2008 16:50 :: mrcube_ns :: Replies: **1** :: Views: **629**

How can i **generate** **random** number using PIC Microcntroller (16F877A OR 16F84A )

Microcontrollers :: 01-13-2009 05:52 :: kamranshamim :: Replies: **2** :: Views: **1141**

Hi Dear Frnds,
How to **generate** **random** number between 44 to 55 in verilog or VHDL?

Digital communication :: 06-17-2009 16:56 :: venkatec :: Replies: **10** :: Views: **4765**

why not use sc or sv to **generate** **random** sequence?

ASIC Design Methodologies and Tools (Digital) :: 11-26-2009 20:47 :: ljxpjpjljx :: Replies: **3** :: Views: **3403**

Please help guys.. i need to perform the run and correlation property on a stream of **bits** that has been pseudo**random**ly **generate**d.
I have used the following piece of code: e.g x= randn(10,1)>0.5 to **generate** **random** **bits** of 0's and 1's. Is this the correct way of doing it or do i need to (...)

Digital communication :: 12-10-2009 10:33 :: dammadmin :: Replies: **0** :: Views: **820**

hi, i have to made a project in which irequire a squre pulse data generator( **random** square pulses). so plz help me in that how to **generate** **random** square pulses or date generator. thnks for reading my post.:smile:

Hobby Circuits and Small Projects Problems :: 03-02-2011 09:44 :: Asif2011 :: Replies: **4** :: Views: **1711**

You need to:
1. **generate** **random** **bits** and store them
2. modulate them (QPSK)
3. do whatever transmit MIMO processing you have
4. send them across a channel
5. demodulate them (QPSK demod)
6. compare your demodulated **bits** to transmit **bits**; BER from monte carlo is given by (...)

Digital communication :: 03-26-2013 11:04 :: Shug :: Replies: **3** :: Views: **344**

LFSR is the most simple pseudo **random** generators and it gives a psuedo-**random** white sequence, other techniques will **generate** other kind of **random** sequence it depends merely on the application, kind of **random** sequence (guassian,white ..), and PRBS length.
so what do u need ?

PLD, SPLD, GAL, CPLD, FPGA Design :: 06-10-2005 00:49 :: bibo1978 :: Replies: **4** :: Views: **2607**

Can anyone help me with coding in **matlab**??
I'm trying to **generate** PRBS and then add noise (AWGN) to it.
Then try to decode it using sequential decoding(hard decision)..
Does any1 know how to do this?
PLEASE HELP ASAP...
Thanks in advanced

Digital communication :: 02-18-2009 09:47 :: Angel_s :: Replies: **3** :: Views: **1949**

hi guys,
when i **generate** a **random** data in **matlab** and i want to apply a lowpass filter to these data , how can i identify it's maximum frequency in order to determine the sampling frequency that i will use as an input to my filter
for example :
x=randint(1,10); %%% **random** **bits**
a=modem.pskmod(4); %%%% (...)

Digital communication :: 06-27-2013 13:07 :: bigstrik :: Replies: **0** :: Views: **226**

Do you need real **random** number or just pseudo-**random**?
For second case you can use LFSR to **generate** long sequence of looks-like-**random** number. Good idea is to get longer LFSR than required range of **random** numbers. For example, get 32-bit LFSR, shift it every time for new number for 32 **bits** (...)

Microcontrollers :: 01-19-2005 03:43 :: Ace-X :: Replies: **11** :: Views: **8230**

Does anybody know where to get a **matlab** file that **generate**s 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 (...)

Digital Signal Processing :: 03-08-2005 14:59 :: cedance :: Replies: **12** :: Views: **2693**

If u want to write a script then i wud suggest the following:
8PSK symbols consist of 3 **bits**
-Suppose u need to **generate** N **bits** total≈N/3 symbols
-start with taking 3 **bits** in an array at a time and compare this with (000) or (011) etc and assign the 8psksig to be equal to (x+iy) where (x,y) E {-1,0,1} depending (...)

Digital communication :: 04-28-2006 08:36 :: carpediem.td :: Replies: **14** :: Views: **18526**

I need some help on a little project, and the objective is to design a sequencial machine simulating a lottery machine or lotto (I don't really know the exact word in english). the point is that I need to **generate** 4 numbers (4-**bits** each(hex)) and register them on four 8_digit_segments. I don't really know how can I **generate** (...)

PLD, SPLD, GAL, CPLD, FPGA Design :: 06-01-2008 10:06 :: frs89 :: Replies: **1** :: Views: **777**

suppose i wanna **generate** **random** data from 0 to 3 (ie, qpsk data) in **matlab** simulink
unsing **random** integer generator.
output should be vector form like
how can i do this using simulink and how to set parameters for that .
thanks in advance.

Digital Signal Processing :: 07-22-2011 03:50 :: zunayeed :: Replies: **3** :: Views: **1700**

i wanted to use normrnd(mu,sigma,m,n) in order to **generate** **random** numbers from normal distribution with mean mu =0 and some standard deviation say sigma. this sigma will be used to study the effect of Kt/C noise but my **matlab** doesnt support statistical toolbox.
Another possibilty i look is to use randn(m,n) which has mean =0 and standard (...)

ASIC Design Methodologies and Tools (Digital) :: 01-05-2012 07:21 :: singhji0000 :: Replies: **2** :: Views: **533**

how to **generate** **random** arrays from a Rayleigh distribution in **matlab**? **random**('Rayleigh',A,B....) ?wht is A,B,..here?wht is the exact format if I want to **generate** 20 by 1 matrix?

Digital communication :: 09-09-2013 08:29 :: arushim :: Replies: **0** :: Views: **182**

Hi
1. you can use LFSR **generate** a digital serial **random** bit stream ,
I ever use it , but you should be care for how to testing it ??
--> easy implement , but not really **random** number ,
because chip reset will get the same ID ..
2. Intel use device noise and modulation a oscillator ..
you can find patent on (...)

Analog Circuit Design :: 03-22-2004 20:50 :: andy2000a :: Replies: **7** :: Views: **2039**

Allot of times it's like this:
The **random** function is more likely a pseudo **random** function generating outputs with a certain distribution (uniform, gaussian, ...).
This means that when you give the same seed, the function always gives the same outputs in the same order.
The seed is the thing which makes it "**random**". Time, ticks since (...)

PC Programming and Interfacing :: 04-27-2004 10:32 :: Antharax :: Replies: **2** :: Views: **4352**

In digital system, all data is 0 or 1.
Where is the source for seed of the **random** number generator?
We have tried using meta-stable to **generate** the seed.
You also can use RTC (real time clock) input, since each time the time input will be different.
For asic without RTC, you can think about other idea about how to generae the seed in digital

PLD, SPLD, GAL, CPLD, FPGA Design :: 07-09-2004 04:52 :: jamesyang1209 :: Replies: **2** :: Views: **2073**

currently i am doing research in awg(array waveguide grating) and i am facing a problem on the transfer function of the awg as i got a pulse shape act like a multiple filter, and i dont know whether is it correct or not.
secondly is i am facing problem on the frequency spectrum of my input signal as i cant **generate** it properly in frequency spect

RF, Microwave, Antennas and Optics :: 10-18-2004 03:12 :: RO :: Replies: **0** :: Views: **898**

rand() in **matlab** **generate**s the uniformly distributed **random** numbers. But if you need highly uniformly distributed **random** numbers, this funciton may be not good enough. Neither the rand function in c library. You need special algorithm to **generate** it.

Software Problems, Hints and Reviews :: 03-24-2005 11:19 :: joshuashi :: Replies: **11** :: Views: **3009**

How to **generate** the proper I/Q data and set the **matlab** simulation model?
That is to say,how to verify my algorithm ?
That is critical.

Digital Signal Processing :: 09-28-2005 07:39 :: mhytr :: Replies: **9** :: Views: **25169**

Simulation of dependent **random** variables using copulas
**matlab** is an ideal tool for running simulations that incorporate **random** inputs or noise. The Statistics Toolbox provides functions to create sequences of **random** data according to many common univariate distributions. The Toolbox also includes a few functions to (...)

Mathematics and Physics :: 10-27-2005 06:13 :: azaz104 :: Replies: **1** :: Views: **20823**

-->**random** Number
I need to **generate** **random** number on at89c51 microcontroller i.e. for
the same input(+5) on same pin(P1.1)..i need to make **random** pin from
P0.0 to P0.7, high. Please help me with the coding either in .asm or
.C
Thank you.

Microcontrollers :: 11-13-2005 11:27 :: buts101 :: Replies: **4** :: Views: **1034**

I need a **random** number generator
written in VHDL to **generate** natural numbers
from 0 to 15. Does anyone have anything
similar to it (like any natural numbers
generator) ?
Any help would be much appreciated.
Thanks in advance.

PLD, SPLD, GAL, CPLD, FPGA Design :: 12-14-2005 08:35 :: StevieChalmers :: Replies: **7** :: Views: **1314**

can anyone plz help me by telling what actually is a bpsk signal and how to **generate** the signal in **matlab** plz helppppppppp
Following is ur required program..
**bits**_per_symbol=1
length_outbiniary_data=128; %this is amount to binary data to be transmitted,u can change it
baseband_binarydata_tx = round(rand(1,length_o

Digital communication :: 01-21-2006 03:05 :: Naveed Alam :: Replies: **4** :: Views: **3341**

1. sin((1:1000)/10) is axample code to **generate** a fixed frequency wave.
2. First **generate** **random** serial numbers, then filter it using the filter desiganted by yoursefl.

Digital communication :: 03-13-2006 01:54 :: carpa :: Replies: **3** :: Views: **2845**

Some **random** number **generate**s are sensitive to seed value, but an LFSR repeats the exact same sequence no matter what seed value you use (excluding that one lock-up value). The seed simply changes the sequence starting point. However, an LFSR is still very useful because it is easy to build one with an extremely long sequence.
It's true that you

ASIC Design Methodologies and Tools (Digital) :: 11-15-2006 17:55 :: echo47 :: Replies: **23** :: Views: **2025**

You can add multi-user interference effect in many ways.
One of them is to **generate** interference as the input signal. For example **generate** **random** signal for input and **generate** other **random** signals as interference in the same way you **generate** the input. Then you add them up. You can add (...)

Digital communication :: 11-30-2006 06:17 :: gaffar :: Replies: **1** :: Views: **1707**

Hi dudes!
I've searched the forum and googled for a while, but nothing really useful came in place. I'm looking for a few ideas that **generate** **random** noise/data, and in case of noise, a schematic to convert them to **bits**.
Has anyone made something like this before?
-izua

Hobby Circuits and Small Projects Problems :: 02-22-2007 19:15 :: izua :: Replies: **6** :: Views: **2415**

I need to **generate** **random** bit sequences for adding to a **bits**tream with a variable Bit Error Rate (e.g 10e-8, 5x10e-7, 10e-7....)
I know the way to create **random** bit sequences but i don't know how to create with a predefined bit error rate.
Could you please help me to implement it in C code.
Thanks in advanced.

Digital communication :: 04-11-2007 05:39 :: nghiad85 :: Replies: **1** :: Views: **911**

Hello,all
I'm a final year student . And I have some problem in my project.
That is how can I **generate** C code from **matlab** code to use It in my Keil ARM project!
I'm analysing Spectrum of Voice signal using my PC by **matlab**.I my problem is : how can i **generate** it to C code or header file *.h and use this code to write my (...)

Electronic Elementary Questions :: 11-28-2007 06:34 :: hbaocr :: Replies: **9** :: Views: **13227**

hi everybody!i need some help with this example!!could you please somebody help me!?
1. Simulation of digital modulations
**generate** the vector of **random** **bits** (hint: you can use rand in **matlab**) . Map them according the constellation of QPSK, BPSK, 8PSK or 16QAM (selectable by the user). Filter the signals by raised (...)

Digital Signal Processing :: 04-29-2008 06:03 :: alex_pap8 :: Replies: **3** :: Views: **769**

hello everybody ! i need help with this example!!!could you please help me?!any body?!!?
1. Simulation of digital modulations
**generate** the vector of **random** **bits** (hint: you can use rand in **matlab**) . Map them according the constellation of QPSK, BPSK, 8PSK or 16QAM (selectable by the user). Filter the signals by raised (...)

Digital Signal Processing :: 04-29-2008 06:21 :: alex_pap8 :: Replies: **1** :: Views: **1961**

i want to **generate** **random** number from 0,1,2,3.but all this numbers are in binary.that is ,00,01,10,11.i want the vhdl code for this task.pleae help on this.

PLD, SPLD, GAL, CPLD, FPGA Design :: 05-14-2008 00:25 :: ruwanika :: Replies: **1** :: Views: **874**

Hi,
I want to **generate** a trellis in **matlab**. The constraingth length is 3 and the code is . The problem is that my outputs must be 0 or 1 or -1. As I saw in poly2trellis function the output is only positive.
Can you suggest me anything? Thanks in advance.
The state table is the following
in cur nxt out
1 00 00 0
0 00 10

Digital communication :: 07-23-2008 18:31 :: magouliana :: Replies: **3** :: Views: **2448**

hello people
can anyone tell me how to plot snr vs ber for wireless communication channels using **matlab** code or simulink..
i ll be gratefull

Digital communication :: 02-18-2009 10:04 :: saurabhtaksali :: Replies: **4** :: Views: **27219**

Last searching phrases:

mplab assembler | datacable | watt hour meter | mbps frequency | original icd2 | traffic control project | hfss lumped port antenna | programmer schematics | instance multiplier | at90s1200

mplab assembler | datacable | watt hour meter | mbps frequency | original icd2 | traffic control project | hfss lumped port antenna | programmer schematics | instance multiplier | at90s1200