资源简介

Matlab source code to simulate the spectrum and energy efficiency of LTE network

资源截图

代码片段和文件信息

function [systemCapacitytotalNumPoints]= bonaldCapacity(referenceLocation)
     regions                 = [referenceLocation.BS; referenceLocation.sector];%or generate regions from referenceBS
     uniqueRegions           = unique(regions‘‘rows‘)‘; %transpose-> unique->transpose
    
     numUniqueRegions        = size(uniqueRegions2); % length(uniqueRegions)= number of columns;
     subRegion               = [];
            
     harmonicAverage         = [];
     totalNumPoints          = length(referenceLocation.averageTime);
     
     for k=1:numUniqueRegions                
       subRegion(k).averageTime = (and(uniqueRegions(1k)==referenceLocation.BS...
                                    uniqueRegions(2k)==referenceLocation.sector)).*referenceLocation.averageTime;
        subRegion(k).averageTime = subRegion(k).averageTime(subRegion(k).averageTime ~= 0); % get none zero values
        
        %numPoints               = length(subRegion(k).averageTime)
        harmonicAverage(k)       = totalNumPoints/sum(subRegion(k).averageTime);
     end
            
     [systemCapacity regionIndex]           = min(harmonicAverage);    
     %numPoints                  = length(subRegion(regionIndex).averageTime);
end           

 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1276  2010-08-18 01:53  energy\bonaldCapacity.m

     文件       1671  2010-08-18 01:53  energy\computeLogPathloss.m

     文件        265  2010-08-18 01:54  energy\computePenetLoss.m

     文件       5753  2010-08-18 01:57  energy\computeSpectralEfficiency.m

     文件       4673  2010-08-18 01:58  energy\computeTransmitPowerNano.m

     文件       1730  2010-05-28 02:09  energy\dirAntPattern.m

     文件      14312  2010-08-18 02:00  energy\generateGraphs.m

     文件       6000  2010-08-18 02:42  energy\generateNetwork.m

     文件      15644  2010-08-18 02:08  energy\getHybridLocation.m

     文件       2395  2010-07-25 15:57  energy\initializeSystem.m

     文件       1183  2010-07-25 13:16  energy\powerconsumption.m

     文件      10017  2010-08-18 02:13  energy\processRawData.m

     文件      14494  2010-07-25 20:47  energy\processRawData3D.m

     文件       9042  2010-07-26 16:25  energy\processRawDataNanoPower.m

     文件      10687  2010-07-23 15:09  energy\processRawDataThreshold.m

     文件       7134  2010-08-18 02:16  energy\ptransmit.m

     文件       3446  2010-08-18 02:16  energy\simulateSystem.m

     目录          0  2013-06-28 14:32  energy

----------- ---------  ---------- -----  ----

               109722                    18


评论

共有 条评论