91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 5.23MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-14
  • 語言: Matlab
  • 標簽:

資源簡介

正交頻分復用(OFDM)技術matlab實現仿真源代碼

資源截圖

代碼片段和文件信息

%?Analysis

disp(‘?‘)?disp(‘------------------------------------------------------------‘)
disp(‘Preparing?Analysis‘)

figure(2)?clf
if?(input_type?==?1)?&?(test_input_type?==?1)
subplot(221)?stem(data_in)?title(‘OFDM?二進制輸入數據‘);
subplot(223)?stem(output)?title(‘OFDM?二進制恢復數據‘)
else
subplot(221)?plot(data_samples)?title(‘OFDM?輸入信號‘);
subplot(223)?plot(output_samples)?title(‘OFDM?恢復信號‘);
end
subplot(222)?plot(xmit)?title(‘OFDM發射‘);
subplot(224)?plot(recv)?title(‘OFDM接收‘);


%?dig_x_axis?=?(1:length(QAM_tx_data))/length(QAM_tx_data);
%? figure(4)?clf?subplot(212)
%? freq_data?=?abs(fft(QAM_rx_data));
%? L?=?length(freq_data)/2;

dig_x_axis?=?(1:length(xmit))/length(xmit);
figure(3)?clf

if?channel_on?==1
num?=?[1?zeros(1?d1-1)?a1?zeros(1?d2-d1-1)?a2];
den?=?[1];
[H?W]?=?freqz(num?den?512);
mag?=?20*log10(abs(H));
phase?=?angle(H)?*?180/pi;

subplot(313)
freq_data?=?abs(fft(recv));
L?=?length(freq_data)/2;
plot(dig_x_axis(1:L)?freq_data(1:L))
xlabel(‘OFDM接收端FFT‘)
axis_temp?=?axis;

subplot(311)
freq_data?=?abs(fft(xmit));
plot(dig_x_axis(1:L)?freq_data(1:L))?axis(axis_temp)
title(‘OFDM發射端FFT‘)

subplot(312)
plot(W/(2*pi)mag)
ylabel(‘信道幅度響應‘)
else
subplot(212)
freq_data?=?abs(fft(recv));
L?=?length(freq_data)/2;
plot(dig_x_axis(1:L)?freq_data(1:L))
xlabel(‘OFDM接收端FFT‘)
axis_temp?=?axis;

subplot(211)
freq_data?=?abs(fft(xmit));
plot(dig_x_axis(1:L)?freq_data(1:L))?axis(axis_temp)
title(‘OFDM發射端FFT‘)
end

%?if?file_input_type?==?4
%? figure(5)
%? subplot(211)
%? image(data_in);
%? colormap(map);
%? subplot(212)
%? image(output);
%? colormap(map);
%?end

if?do_QAM?==?1? %?analyze?if?QAM?was?done

figure(4)?clf
if?(input_type?==?1)?&?(test_input_type?==?1)
subplot(221)?stem(data_in)?title(‘QAM?Binary?Input?Data‘);
subplot(223)?stem(QAM_data_out)?title(‘QAM?Recovered?Binary?Data‘)
else
subplot(221)?plot(data_samples)?title(‘QAM?輸入信號‘);
subplot(223)?plot(QAM_output_samples)?title(‘QAM?恢復信號‘);
end
subplot(222)?plot(QAM_tx_data)?title(‘發射端?QAM‘);
subplot(224)?plot(QAM_rx_data)?title(‘接收端?QAM‘);

dig_x_axis?=?(1:length(QAM_tx_data))/length(QAM_tx_data);
figure(5)?clf

if?channel_on?==1
subplot(313)
freq_data?=?abs(fft(QAM_rx_data));
L?=?length(freq_data)/2;
plot(dig_x_axis(1:L)?freq_data(1:L))
xlabel(‘QAM接收端FFT‘)
axis_temp?=?axis;

subplot(311)
freq_data?=?abs(fft(QAM_tx_data));
? plot(dig_x_axis(1:L)freq_data(1:L))?axis(axis_temp)
title(‘QAM發射端FFT‘)

subplot(312)
plot(W/(2*pi)mag)
ylabel(‘信道幅度響應‘)
else
subplot(212)
freq_data?=?abs(fft(QAM_rx_data));
L?=?length(freq_data)/2;
plot(dig_x_axis(1:L)?freq_data(1:L))
title(‘QAM接收端FFT‘)
axis_temp?=?axis;

subplot(211)
freq_data?=?abs(fft(QAM_tx_data));
? plot(dig_x_axis(1:L)freq_data(1:L))?axis(axis_temp)
title(‘QAM發射端FFT‘)
end

%?Pl

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-09-03?13:40??ofdm系統matlab仿真源代碼\
?????文件???????13264??2005-06-17?08:32??ofdm系統matlab仿真源代碼\DDP.fig
?????文件????????4843??2005-06-14?21:38??ofdm系統matlab仿真源代碼\DDP.m
?????文件?????5459300??2004-04-29?12:18??ofdm系統matlab仿真源代碼\Demo.rar
?????文件?????????524??2001-04-23?14:29??ofdm系統matlab仿真源代碼\OFDM.m
?????文件?????????428??2005-06-15?08:10??ofdm系統matlab仿真源代碼\OFDM_out.wav
?????文件?????????522??2005-06-16?15:47??ofdm系統matlab仿真源代碼\OFDM_text_out.txt
?????文件????????4691??2001-04-23?14:29??ofdm系統matlab仿真源代碼\QAM.m
?????文件?????????428??2005-06-15?08:10??ofdm系統matlab仿真源代碼\QAM_out.wav
?????文件?????????531??2005-06-16?14:18??ofdm系統matlab仿真源代碼\QAM_text_out.asv
?????文件?????????524??2005-06-16?15:47??ofdm系統matlab仿真源代碼\QAM_text_out.txt
?????文件????????2857??2001-04-23?14:30??ofdm系統matlab仿真源代碼\a_filter_design.m
?????文件????????5157??2005-06-01?22:26??ofdm系統matlab仿真源代碼\analysis.m
?????文件????????4168??2001-04-23?14:30??ofdm系統matlab仿真源代碼\basicgui_win.m
?????文件?????????219??2001-04-23?14:30??ofdm系統matlab仿真源代碼\bin2eight.m
?????文件?????????227??2001-04-23?14:30??ofdm系統matlab仿真源代碼\bin2pol.m
?????文件???????28848??2004-04-13?20:45??ofdm系統matlab仿真源代碼\buaa.jpg
?????文件?????????407??2001-04-23?14:30??ofdm系統matlab仿真源代碼\ch.m
?????文件?????????162??2001-04-23?14:30??ofdm系統matlab仿真源代碼\ch_clipping.m
?????文件?????????210??2001-04-23?14:30??ofdm系統matlab仿真源代碼\ch_multipath.m
?????文件?????????265??2001-04-23?14:30??ofdm系統matlab仿真源代碼\ch_noise.m
?????文件?????????217??2001-04-23?14:30??ofdm系統matlab仿真源代碼\eight2bin.m
?????文件????????8832??2005-06-15?07:55??ofdm系統matlab仿真源代碼\help_DDP.fig
?????文件????????2871??2004-04-21?13:24??ofdm系統matlab仿真源代碼\help_DDP.m
?????文件?????????431??2001-04-23?14:30??ofdm系統matlab仿真源代碼\pol2bin.m
?????文件????????1001??2001-04-23?14:30??ofdm系統matlab仿真源代碼\read.m
?????文件?????????519??2001-04-23?14:30??ofdm系統matlab仿真源代碼\rx.m
?????文件?????????222??2001-04-23?14:30??ofdm系統matlab仿真源代碼\rx_chunk.m
?????文件?????????977??2001-04-23?14:30??ofdm系統matlab仿真源代碼\rx_dechunk.m
?????文件????????2969??2005-06-14?17:18??ofdm系統matlab仿真源代碼\setupw.m
?????文件????????2973??2005-06-14?17:51??ofdm系統matlab仿真源代碼\setupy.m
............此處省略22個文件信息

評論

共有 條評論