?? make_orthotrain.m
字號:
function [train_seq1, train_seq2]=make_orthotrain(train_length)% [train_seq1, train_seq2]=make_orthotrain(train_length)%% Variable: Explanation:% output1 - % output2 -% % input1 - % input2 -% % Short Theoretical Background for the Function:%% Creates two orthogonal training-sequences of length train_length.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% Function part of simulation for Space-Time%%% coding project, group Grey-2001.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Author: % Date: % Version: % Revision (Name & Date & Comment):%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%train_seq1 = random_training(train_length);train_seq2 = train_seq1;train_seq2(1:2:end) = abs(train_seq1(1:2:end) - 1); % Inverses every second bit% figure(20), subplot(1,2,1), plot(xcorr(train_seq1,train_seq1)), subplot(1,2,2), plot(xcorr(train_seq2,train_seq2));
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -