Use PN sequence to control frequence hopped

Status
Not open for further replies.

sadsorry

Newbie level 6
Joined
Feb 20, 2013
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,347
Hi every one!
I have a matlab code to create PN sequence like this:
Code:
h=commsrc.pn('GenPoly',[1 0 1 1],'InitialStates',[0 0 1],'CurrentStates',[0 0 1],'Mask',[0 0 1],'NumBitsOut',1);
. And I want use States of h to control frequency hopped but I don't know compare this states to each other.
For example: initialstates [1011] => generate => [0100] => generate =>[1001]. So how can I call these states?
Thanks
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…