Created
June 10, 2017 07:33
-
-
Save fzliu/ffd1730babd8690fdda5a348158cd8e5 to your computer and use it in GitHub Desktop.
Uses MATLAB to generate Kasami sequences.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
seqs = []; | |
for n = 0:62 | |
ks = comm.KasamiSequence('Index', n, ... | |
'Polynomial', [12 6 4 1 0], ... | |
'InitialConditions', [zeros(1, 11) 1], ... | |
'SamplesPerFrame',4095); | |
seq = step(ks); | |
seq = 2 * (seq - 0.5); | |
seqs = [seqs seq]; | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment