📄 random_training.m
字号:
function [training_sequence]=random_training(sequence_length)% [training_sequence]=random_training(sequence_length)%% Output:% training_sequence - Random training (zeros and ones)% % sequence_length - Desired length of training sequence (Preferably an even number)% % Short Theoretical Background for the Function:%% A deterministic training sequence with better autocorrelation properties% is usually a better solution than this random one.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% Function part of simulation for Space-Time%%% coding project, group Grey-2001.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Author: Stefan Uppg錼d% Date: 2001-03-19% Version: 1.0% Revision (Name & Date):%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%training_sequence = (rand(1, sequence_length) > .5);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -