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.

Repetition Code on Matlab

Status
Not open for further replies.

magouliana

Newbie level 4
Joined
Feb 15, 2008
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,320
Hello everybody!

I am a new user of MATLAB. Can anybody guide me how to do Repetition Code on Matlab?

We have(8,1,8) that’s is n=8, k=1, d=8, 2^1=codewords

if we put in matlab the information bit 0 the output it will be 00000000
or if we will put the information bit 1 the output it will be 11111111

kindly suggest me how to do it!!!

thanks in advance
 

data = [ 1 0 1 0 1];
encoded_data = repmat (data, 8, 1);
encoded_data = encoded_data:));
-b
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top