最唗▲project5_3◎
>> x=0:15;
y=x;
FrequencySeparation=24000;
BitRate=10000;
SimulationTime=10;
SamplesPerSymbol=2;
Velocity=40;
LightSpeed=3*10^8;
Frequency=825*10^6;
WaveLength=LightSpeed/Frequency;
Fd=Velocity*10^3/3600/WaveLength;
hold off
>> for i=1:length(x)
SNR=x(i);
sim('project5_1main');
y(i)=mean(BitErrorRate);
end
>> semilogy(x,y);
>> project5_1main;
hold on;
for i=1:length(x)
SNR=x(i);
sim('project5_3main');
y(i)=mean(BitErrorRate);
end
>> semilogy(x,y);