资源描述:
《winner 2 matlab程序》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、function[H,delays,full_output]=wim(wimpar,layoutpar,initvalues)%WIMWINNERPhaseIIChannelModel(WIM2)%H=WIM(WIMPAR,LINKPAR,ANTPAR)isa5D-arrayofchannelcoefficients.For%explanationoftheinputparameterstructs,seeWIMPARSET,LAYOUT2LINK,LAYOUTPARSET,%andANTPARSET.HisacellarrayofsizeK(numberoflink
2、s.%SIZE(H{i})=[USNT],whereUisthenumberofMS(RX)%elements,SisthenumberofBS(TX)elements,Nisthenumberofpaths,%Tisthenumberoftimesamples%%[HDELAYS]=WIM(...)outputsalsoa[KxN]matrixofpathdelays(inseconds).%%[HDELAYSBULKPAR]=WIM(...)outputsalsothestructBULKPAR,whosefields%areasfollows:%%WithNLO
3、Spropagationcondition:%%delays-pathdelaysinseconds[KxN]%path_powers-relativepathpowers[KxN]%aods-anglesofdepartureindegreesover(-180,180)[KxNxM]%aoas-anglesofarrivalindegreesover(-180,180)[KxNxM]%subpath_phases-finalphasesforsubpathsindegreesover(0,360)[KxNxM]%path_losses-pathlossesinli
4、nearscale[Kx1]%MsBsDistance-distancesbetweenMSsandBSsinmeters[1xK]%shadow_fading-shadowfadinglossesinlinearscale[Kx1]%delta_t-timesamplingintervalsforalllinks[Kx1]%%Inaddition,whenLOScondition(inadditiontotheabove):%%K_factors-Kfactorsforalllinks[Kx1]%Phi_LOS-finalphasesforLOSpathsindeg
5、reesover(-180,180)[Kx1]%%[H...]=WIM(...,INIT_VALUES)usesinitialvaluesgiveninthestruct%INIT_VALUES,insteadofrandomparametergeneration.INIT_VALUEShas%thesameformatasBULKPAR,exceptthatSUBPATH_PHASESarenowthe%initialphases.Also,timesamplingintervals(delta_t)arenotused%(theyarerecalculatedfo
6、reverycallofWIM).%%Ref.[1]:D1.1.2V1.2,"WINNERIIchannelmodels"%[2]:3GPPTR25.996v6.1.0(2003-09)%%SeealsoWIMPARSET,LAYOUT2LINK,LAYOUTPARSETandANTPARSET%Authors:JariSalo(HUT),GiovanniDelGaldo(TUI),PekkaKyösti(EBIT),%DanielaLaselva(EBIT),MarkoMilojevic(TUI),ChristianSchneider(TUI)%LassiHenti
7、l?(EBIT),MikkoAlatossava(CWC/UOULU),MartinKäske(TUI)%Note:allunitsareindegrees,meters,Hertz(1/s)andmeters/second(m/s)ni=nargin;if(ni<2
8、
9、ni>3)error('WIMrequirestwoorthreeinputarguments!')endlinkpar=layout2link(layoutpar);%Readfixedscenariodependentparametersfromatablefixpar=Scen