資源簡介
文件包含uwb信道模型的仿真,對PPM-TH信號通過UWB信號后的信號進(jìn)行接收,并重建,得到信道的 沖擊響應(yīng)。

代碼片段和文件信息
%
%?FUNCTION?2.4?:?“cp0201_2PPM_TH“
%
%?Introduces?the?TH?code?given?by?‘THcode‘
%?and?implements?binary?PPM?modulation
%?‘seq‘?is?the?input?binary?stream
%?‘fc‘?is?the?sampling?frequency?for?the?generated?signal
%?‘Tc‘?is?the?chip?time
%?‘Ts‘?is?the?average?pulse?repetition?time
%?‘dPPM‘?is?the?PPM?delta?shift
%?‘THcode‘?is?the?TH?code
%
%?The?function?generates?two?output?streams??
%?‘2PPMTHseq‘?is?the?output?with?both?TH?and?2PPM
%?‘THseq‘?is?the?output?with?TH?only
%
%?Programmed?by?Guerino?Giancola
%
function?[PPMTHseqTHseq]?=?...
??cp0201_2PPM_TH(seqfcTcTsdPPMTHcode)
%?--------------------------------------------------
%?Step?One?-?Implementation?of?the?2PPM-TH?modulator
%?--------------------------------------------------
dt?=?1?./?fc;???????????????????%?sampling?period
framesamples?=?floor(Ts./dt);???%?no.?of?samples?between
????????????????????????????????%?pulses
chipsamples?=?floor?(Tc./dt);???%?no.?of?samples?for?the
????????????????????????????????%?chip?duration
PPMsamples?=?floor?(dPPM./dt);??%?no.?of?samples?for?the
????????????????????????????????%?PPM?shift
THp?=?length(THcode);???????????%?TH-code?periodicity
totlength?=?framesamples*length(seq);
PPMTHseq=zeros(1totlength);
THseq=zeros(1totlength);
%?------------------------------------------------
%?Step?Two?-?Main?loop?for?introducing?TH?and?2PPM
%?------------------------------------------------
for?k?=?1?:?length(seq)
????
????%?uniform?pulse?position
????index?=?1?+?(k-1)*framesamples;
????
????%?introduction?of?TH
????kTH?=?THcode(1+mod(k-1THp));
????index?=?index?+?kTH*chipsamples;
????
????THseq(index)?=?1;
????
????%?introduction?of?2PPM
????index?=?index?+?PPMsamples*seq(k);
????PPMTHseq(index)?=?1;
????????
end?%?for?k?=?1?:?length(seq)
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1825??2004-07-22?12:12??UWB_system\cp0201_2PPM_TH.m
?????文件????????410??2004-07-22?12:12??UWB_system\cp0201_bits.m
?????文件????????643??2004-07-22?12:12??UWB_system\cp0201_repcode.m
?????文件????????354??2004-07-22?12:12??UWB_system\cp0201_TH.m
?????文件???????3083??2009-05-08?03:36??UWB_system\cp0201_transmitter_2PPM_TH.m
?????文件???????1410??2004-07-22?12:12??UWB_system\cp0201_waveform.m
?????文件???????1270??2004-07-22?12:13??UWB_system\cp0801_Gnoise2.m
?????文件????????581??2004-07-22?12:13??UWB_system\cp0801_pathloss.m
?????文件???????3335??2009-05-09?00:01??UWB_system\cp0801_PPMreceiver.m
?????文件???????4517??2009-05-08?03:55??UWB_system\cp0802_IEEEuwb.m
?????文件???????1114??2004-07-22?12:13??UWB_system\cp0803_PPMcorrmask_R.m
?????文件???????2969??2004-07-22?12:14??UWB_system\cp0803_rakeselector.m
?????文件?????705654??2009-05-08?23:50??UWB_system\final?result.bmp
?????文件???????1994??2009-05-08?23:47??UWB_system\final?result.fig
?????文件???????2631??2009-05-11?14:09??UWB_system\UWB_system.m
?????文件?????705654??2009-05-08?20:33??UWB_system\信道沖激響應(yīng).bmp
?????文件?????705654??2009-05-08?20:32??UWB_system\離散時間沖激響應(yīng).bmp
?????文件?????????56??2009-05-09?00:17??UWB_system\說明.txt
?????文件????2949174??2009-05-08?23:50??UWB_system\運行圖.bmp
?????文件?????????61??2009-05-09?00:13??UWB_system\運行時間.txt
?????目錄??????????0??2014-11-27?09:22??UWB_system
-----------?---------??----------?-----??----
??????????????5092389????????????????????21
評論
共有 條評論