📄 jieshouxinhaozhuhanshu.m
字号:
clear;
[bits,THcode,Stx,ref]=cp0201_transmitter_2PPM_TH;
%stx=cp0201_transmitter_2PPM_TH;
c0=10^(-30/20);
d=10;
gamma=2;
[srx,attn]=cp0801_pathloss(Stx,c0,d,gamma);
%TMG=attn^2;
%SRX0=Stx.*attn;
numpulses=2;
%srx = attn .* Stx;
C=srx(1,:);
figure(2);
hold on;
grid on;
plot(C,'b');
axis([0 6e-9 -1e-5 2e-5]);
%exno=3;
%[output,noise]=cp0801_Gnoise2(SRX0,exno,numpulses);
%fc=50e9;
%[h0,hf,OT,ts,X] = cp0802_IEEEuwb(fc,TMG);
%SRX=conv(Stx,hf);
%SRX=SRX(1:length(Stx));
%RX=SRX+noise;
%C=SRX+noise;
%figure(1);
%hold on;
%grid on;
%plot(RX,'r');
%axis([0 10e-8 -8e-4 6e-4]);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -