Tweets by @dsprelated

A Quadrature Signals Tutorial: Complex, But Not Complicated

Understanding the 'Phasing Method' of Single Sideband Demodulation

Complex Digital Signal Processing in Telecommunications

Introduction to Sound Processing

Introduction of C Programming for DSP Applications

**Technical discussion about Matlab and issues related to Digital Signal Processing.**

**Is this thread worth a thumbs up?**

0 if less than 0.5 and 1 if greater than 0.5 (using round).

Nandan

On 12/10/05, scguc <scguc@scgu...> wrote:

>

> how to make random binary bits with probability 0.5 for both zeros and

> ones!?

2005/12/10, scguc <scguc@scgu...>:

>

> how to make random binary bits with probability 0.5 for both zeros and

> ones!?

bits = randn(1,nBits)<0;

this would give you the bits as an array of logicals

--- arkkimede <arkkimede@arkk...> wrote:

> bit == round(rand(1,nBit))

>

> 2005/12/10, scguc <scguc@scgu...>:

> >

> > how to make random binary bits with probability 0.5 for both zeros and

> > ones!?

>