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

  • 大小: 3KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2021-06-16
  • 語言: Matlab
  • 標(biāo)簽:

資源簡(jiǎn)介

通原軟件實(shí)驗(yàn)代碼--數(shù)字信號(hào)基帶調(diào)制PAM

資源截圖

代碼片段和文件信息

clear?all
%close?all

L=64;???%每個(gè)碼元間隔內(nèi)的采樣點(diǎn)數(shù)
N=2^13;??%總采樣點(diǎn)數(shù)
M=N/L;??%總碼元數(shù)

Rs=5;??%kbit/s
Ts=1/Rs;??%碼元間隔
T=M*Ts;
fs=N/T;
Bs=fs/2;
t=-T/2+(0:N-1)/fs;
f=-Bs+(0:N-1)/T;??

L1=L*0.25;??%占空比25%
L2=L*0.5;??%占空比50%
L3=L*0.75;?%占空比75%

figure(3)
a=(randn(1M)>0);??%產(chǎn)生單極性數(shù)據(jù)
subplot(221)
tmp=zeros(LM);?
tmp((1:L1):)=ones(L11)*a;
s=tmp(:)‘;
S=t2f_1(sfs);
plot(ts);
grid?on
axis?([-1?1?0?1.5]);
title(‘單極性,占空比25%‘)
subplot(223)
EP=spb(LNMfsTL1);
plot(f10*log10(EP))
grid?on
title(‘功率譜圖形‘)
xlabel(‘f(KHz)‘)
ylabel(‘功率譜密度(dB)‘);
axis?([-50?50?-60?0]);

b=sign((rand(1M)>0.5)-0.5);?
tmp=zeros(LM);?
tmp((1:L1):)=ones(L11)*b;
s=tmp(:)‘;
S=t2f_1(sfs);
subplot(222)
plot(ts);
grid?on
axis?([-1?1?-1.5?1.5]);
title(‘雙極性占空比25%‘);
subplot(224)
EP=dpb(LNMfsTL1);
plot(f10*log10(EP));grid?on
title(‘功率譜圖形‘)
axis?([-50?50?-60?0]);
xlabel(‘f(KHz)‘)
ylabel(‘功率譜密度(dB)‘);

figure(4)
a=(randn(1M)>0);??%產(chǎn)生單極性數(shù)據(jù)
subplot(221)
tmp=zeros(LM);?
tmp((1:L2):)=ones(L21)*a;
s=tmp(:)‘;
S=t2f_1(sfs);
plot(ts);
grid
axis?([-1?1?0?1.5]);
title(‘單極性,占空比50%‘)
subplot(223)
EP=spb(LNMfsTL2);
plot(f10*log10(EP));
grid;
title(‘功率譜圖形‘)
xlabel(‘f(KHz)‘)
ylabel(‘功率譜密度(dB)‘);
axis?([-50?50?-60?0]);

b=sign((rand(1M)>0.5)-0.5);?
tmp=zeros(LM);?
tmp((1:L2):)=ones(L21)*b;
s=tmp(:)‘;
S=t2f_1(sfs);
subplot(222)
plot(ts);
grid
axis?([-1?1?-1.5?1.5]);
title(‘雙極性占空比50%‘);
subplot(224)
EP=dpb

評(píng)論

共有 條評(píng)論

相關(guān)資源