xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 3KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發布日期: 2021-06-08
  • 語言: Matlab
  • 標簽: 8PSK??

資源簡介

對隨機0、1信號采用8PSK調制方式,采用升余弦脈沖,將輸入信號調制到合適的載頻上

資源截圖

代碼片段和文件信息

clear?all;
clc;

%%?parameters
nsymbol=3000000;
M=8;
Rb=64000;????????????%?比特率?Rb=32kb/s
Rs=Rb/log2(M);???????%?碼率?Rs=8k?Baud/s
Ts=1/Rs;??????????????%?每碼元持續時間,碼元周期
f_carrierwave=2*Rs;%載波頻率
filt_sample_ratio=20;%此參量用在平方根余弦濾波器。為了在載波調制時方便(連續變成離散)filt_sample_ratio為載波頻率?中的4(幾倍碼元)的倍數關系
t_cansee=Ts/filt_sample_ratio;%為程序中空口的離散兩點中的時間間隔,也即是我們程序中可以看到的最小時間單元
EsN0=5:20;%單位為db
snr1=10.^(EsN0/10);%單位為比例。Es/N0,信噪比轉化為線性值
%square-root?raised?cosine?pulse?shaping?parameters
Fd?=?Rs;
Fs?=?filt_sample_ratio*Fd;
rolloff=0.25;
delay=3;
%%?source
msg=randint(1nsymbolM);

%%?baseband?modulation?based?on?16-PSK?with?Gray?mapping?將16進制數gray映射到16psk星座圖上
msgmod=pskmod(msgM0‘gray‘).‘;

%%?square-root?raised?cosine?pulse?shaping
rolloff=0.25;
delay=3;
rrcfilter?=?rcosine(Fd?Fs?‘fir/sqrt‘rolloff?delay);
figure(1)
impz(rrcfilter1);
[psk_trans_ro?ty]?=?rcosflt(msgmodFdFs‘filter‘rrcfilter);
tx=real(psk_trans_ro.*(exp(j*2*pi*f_carrierwave*ty‘)));
figure(2);
%?td=delay:length(msgmod)+delay-1;
%?????stem(td*Tsreal(msgmod)‘r‘);
%?????hold?on
plot(ty?imag(psk_trans_ro)‘-*‘);
xlabel(‘時間(單位?s)‘);
ylabel(‘幅度‘);
title(‘經過發送濾波器前后的8PSK數據的Q路信號‘);
xlim([0?0.001])
figure(3);
%subplot(211);
plot(tytx);
xlabel(‘時間(單位?s)‘);
ylabel(‘幅度‘);
title(‘40KHZ高頻調制后的8PSK帶通信號時域圖‘);
xlim([0?0.005]);
L=length(tx);
NFFT?=?2^nex

評論

共有 條評論