Technical discussion about Matlab and issues related to Digital Signal Processing.
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 ------------------------------------
Well, I think you need to make your case more clear,=20 =20 The number of repeatitions is n or d? What is that 2^1=3Dcodewords would doing? =20 My suggestions: For repeatitions, you can use something like this : n=3D8;k=3D1; a1=3Dk*ones(1,n); =20 Hope it helps somwhat, keep posting queries, it helps :) =20 - Dev=20 --- On Tue, 7/1/08, h...@in.gr <h...@in.gr> wrote: From: h...@in.gr <h...@in.gr> Subject: [matlab] Repetition Code on Matlab To: m...@yahoogroups.com Date: Tuesday, July 1, 2008, 1:36 AM Hello everybody! I am a new user of MATLAB. Can anybody guide me how to do Repetition Code o= n Matlab? We have(8,1,8) that=A2s is n=3D8, k=3D1, d=3D8, 2^1=3Dcodewords 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=20 ------------------------------------ NEW! You can now post a message or access and search the archives of this = group on DSPRelated.com: http://www.dsprelated.com/groups/matlab/1.php _____________________________________ Note: If you do a simple "reply" with your email client, only the author of= this message will receive your answer. You need to do a "reply all" if yo= u want your answer to be distributed to the entire group. _____________________________________ About this discussion group: Archives: http://www.dsprelated.com/groups/matlab/1.php To Post: Send an email to m...@yahoogroups.com Other DSP Related Groups: http://www.dsprelated.com/groups.phpYahoo! Groups= Links