资源描述:
《802.11n信道模型matlab代码》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、function[R,Q,sigma_deg]=correlation(M,spacing,d_norm,cluster_number,amplitude_cluster,PAS_type,phi_deg,AS_deg,delta_phi_deg,type)%DerivesthecorrelationmatrixRfromthedescriptionoftheenvironment,namelytheantennaelement%spacingandthewaythewavesimpinge(numberofclusters,PAStyp
2、e,ASandmeanangleofincidence.The%generatedcorrelationcoefficientsareeither(complex)fieldcorrelationcoefficients(type=0)%or(realpositive)powercorrelationcoefficients(type=1).%Inputs%%*VariableM,numberofantennaelementsoftheULA%*Variablespacing,spacingoftheantennaelementsofth
3、eULA%*Vectord_norm,containingtherelativespacingsoftheM%elementsoftheULAwithrespecttothefirstone%*Variablecluster_number,numberofimpingingclusters%*Vectoramplitude_cluster,containingtheamplitudeof%thecluster_numberimpingingclusters%*VariablePAS_type,definesthenatureofthePA
4、S,isotropic%uniform(1),isotropicGaussian(2),isotropicLaplacian(3)%ordirectiveLaplacian(6)accordingto3GPP-3GPP2SCMAHG%radiationpattern%*Vectorphi_deg,containingtheAoAsofthenumber_cluster%clusters%*VectorAS_deg,containingtheASsofthenumber_cluster%clusters%*Vectordelta_phi_d
5、eg,containingtheconstraintslimits%ofthetruncatedPAS,ifapplicable(GaussianandLaplacian%case)%*Variabletype,defineswhethercorrelationproperties%shouldbecomputedinfield(0)orinpower(1)%%Outputs%%*2-DHermitianmatrixRofsizeMxM,whoseelementsare%thecorrelationcoefficientsofthecor
6、respondingelements%oftheULAimpingedbythedescribedPAS%VectorQofcluster_numberelements,givingthenormalisation%coefficientstobeappliedtotheclustersinordertohave%thePASfulfillingthedefinitionofapdf%*Vectorsigma_degofcluster_numberofelements,giving%thestandarddeviationsofthecl
7、usters,derivedfrom%theirdescription.Thereisnotnecessarilyequalitybetween%thegivenASandthestandarddeviationofthemodellingPAS.%%Revisionhistory%%April2003-Additionofcase6(directiveLaplacian)%February2002-Creation%%STANDARDDISCLAIMER%%CSysisfurnishingthisitem"asis".CSysdoesn
8、otprovideany%warrantyoftheitemwhatsoever,whetherexpress,implied,or%statutory,including,butnotlim