Help me fix my BCH code in Matlab

Status
Not open for further replies.

sukooooooon

Newbie level 1
Joined
Sep 24, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
Hi alll,

I am new to the group and after seeing this group i think some one will help me.

I am BCH code user

i am using matlab

msg =gf(round(rand(1,k)));
code = bchenc(msg,n,k);

it goes well

afterwards I want to change "code" to plus/minus one by

code = code*2-1;

it does not work ???

I want to add complex gaussian noise to it

receieved _signal = code +noise;

doest not work ??????

please suuuggest somthing ...
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…