資源簡介
4G協(xié)作中繼系統(tǒng)中OFDM系統(tǒng)容量,在MATLAB中的仿真圖實現(xiàn)
代碼片段和文件信息
function?[?channel_gain1channel_gain2?]?=?channel_deployment(?N?)
%In?this?function?we?generate?the?N?Rayleigh?Fading?Channels
%Input:
%N:?number?of?subcarriers.
%-----------------------------------------------------------------------%
%%%?Zheng?Chang?Department?of?Mathematical?Information?Technology
%%%?University?of?Jyv鋝kyl?
nsample?=?1000;?%?number?of?channel?realizations
H1?=?(randn(1?N?nsample)?+?sqrt(-1)?*?randn(1?N?nsample))?/?sqrt(2);?%?channel?for?the?first?hop
H2?=?(randn(1?N?nsample)?+?sqrt(-1)?*?randn(1?N?nsample))?/?sqrt(2);?%?channel?for?the?second?hop
for?ii?=?1:N
????channel_gain1(ii)=mean(abs(H1(1ii:)))*(rand(11)*2);
????channel_gain2(ii)=mean(abs(H2(1ii:)))*(rand(11)*2);
end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????747??2011-01-12?19:09??channel_deployment.m
?????文件???????1235??2011-01-04?18:42??CompareCapacity.m
?????文件????????353??2011-01-09?04:13??EPAllocation.m
?????文件???????2383??2011-01-05?21:36??FairSubcarrierAllocation.m
?????文件????????373??2011-01-04?03:53??g_cal.m
?????文件???????7950??2011-03-07?03:58??main2.m
?????文件???????2098??2010-12-21?18:36??MIMOCapacity.m
?????文件????????958??2011-01-04?18:42??PowerAllocation.m
?????文件???????2372??2011-01-05?21:17??RandomSubcarrierAllocation.m
?????文件???????1938??2011-01-12?20:04??RelaySelection.m
?????文件???????1942??2011-01-12?20:04??RelaySelectionFair.m
?????文件????????976??2011-01-06?22:47??RN_deployment.m
?????文件???????2438??2010-12-23?00:02??SubcarrierAllocation.m
-----------?---------??----------?-----??----
????????????????25763????????????????????13
評論
共有 條評論