get_rand_seq.m

来自「This a framework to test new ideas in tr」· M 代码 · 共 13 行

M
13
字号
function [seq] = get_rand_seq( M, N, L, n_psk );% get_rand_seq( M, N, L, alphabet )% produces a matrix of M cyclic shifts of a random sequence of % length N and equiprobable out of the n_psk-alphabet. The shift% is Ls = exp( 2 * pi * i * randint( N, 1, n_psk ) / n_psk );seq = [];for i=0:(M-1)    seq = [seq circshift( s, i * L ) ];endseq = seq';

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?