Исследование цифровой модуляции в системах радиосвязи

76 % This script generates the 'Display Figure' for the doc_commphasenoise model. clear; open_system( 'doc_commphasenoise' ); %% % Set the frequency offset to 1000 Hz in the Phase Noise block and % number of bits per symbol to 8 thoughout the model. freqOffset = 1000; Nbps = 8; % Define EbNo and phase noise ranges for simulation and plotting. EbNoRng=(20:0.5:23); PhNoiseRng=-88:3:-76; % Specify the target number of bit errors. tgtMaxErr = 200; %% % Sweep phase noise and EbNo ranges to generate results, then plot. ber = zeros(length(PhNoiseRng),length(EbNoRng)); for ip=1:length(PhNoiseRng) phaseNoise = PhNoiseRng(ip); for ies=1:length(EbNoRng) EbN0 = EbNoRng(ies); sim( 'doc_commphasenoise' ) ber(ip,ies) = outputBER(1); end end

RkJQdWJsaXNoZXIy MTY0OTYy