?? 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 + -