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.

MATLAB conversion from symbols to bits

Status
Not open for further replies.

Mahmoud22

Newbie level 3
Joined
Dec 2, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,300
I am trying to convert data symbols to data bits and lost. can anybody help, I am new with MATLAB
 

M-code: de2bi or dec2bin functions (they are different!)
Simulink: Integer to Bit Converter.
Or say what are your data symbols look like
 

M-code: de2bi or dec2bin functions (they are different!)
Simulink: Integer to Bit Converter.
Or say what are your data symbols look like

I tried de2bi and wouldn't work. part of data is " 5.1354e-01 -4.8379e-01 -6.4822e-01 6.5347e-01". I used uencode to get it to decimal first but ending up with twice no. of original bits.
 

and what is the number of original bits? how you get these values of data?
 

and what is the number of original bits? how you get these values of data?

"uncoded_bits = randi([0 1],1,num_info_bits_per_frame);
%info_bits_per_frame = 1536)
I performed QPSK modulation on it to get 1536/2 complex symbols

after conv with channel freq. response and addition of noise, equalisation and demod,

I got 1536 symbols of + - integers

now i want to convert to bits and its giving me 1536*2 bits
I used de2bi,
 

The part of data set you posted is not a set of integers. These are rational numbers.
Try to plot your data set and check if it looks like origin (dont pay attantion to values, just shape).
Maybe your noise added is very great.
Or post the full code
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top