資源簡介
四種超寬帶信道模型(UWB)源代碼,屬于官方代碼,可直接用于個人的無線仿真系統!
代碼片段和文件信息
function?[hNN]?=?uwb_sv_cnvrt_ct(?h_ct?t?np?num_channels?ts?)
%?convert?continuous-time?channel?model?h_ct?to?N-times?oversampled?discrete-time?samples
%?h_ct?t?np?and?num_channels?are?as?specified?in?uwb_sv_model
%?ts?is?the?desired?time?resolution
%?
%?hN?will?be?produced?with?time?resolution?ts?/?N.
%?It?is?up?to?the?user?to?then?apply?any?filtering?and/or?complex?downconversion?and?then
%?decimate?by?N?to?finally?obtain?an?impulse?response?at?time?resolution?ts.
min_Nfs?=?100;?%?GHz
N?=?max(?1?ceil(min_Nfs*ts)?);??%?N*fs?=?N/ts?is?the?intermediate?sampling?frequency?before?decimation
N?=?2^nextpow2(N);?%?make?N?a?power?of?2?to?facilitate?efficient?multi-stage?decimation
%?NOTE:?if?we?force?N?=?1?and?ts?=?0.167?the?resulting?channel?hN?will?be?identical?to
%?the?
評論
共有 條評論