📄 get_rand_seq.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -