資源簡(jiǎn)介
二相編碼調(diào)制脈沖壓縮信號(hào)仿真,采用巴克碼。Binar yphase coded pulse
代碼片段和文件信息
%%%%%%%%%%%%%%?????Barker?code??????%%%%%%%%%%%%%%%
clear?all;
Barker_order=7;??%?order?of?barker?code
B1=barker(Barker_order)???%?Barker?code?generating?by?barker?function
Bb?=?xcorr(B1);????%Barker?code?autocorrelation??
plot(Bb);
grid?on;
axis?tight;
title(‘Barker?code?autocorrelation‘);?
%%%%%%%%%%%%%%?????Binaryphase?coded?pulse??????%%%%%%%%%%%%%%%
samples=1000;??%?numer?of?samples?in?one?sub_pulse
t=1:samples;
sub_pulse=sin(2*pi*t/samples);
plot?(sub_pulse);
pulse=zeros
評(píng)論
共有 條評(píng)論