📄 ofdmwaterfilling.m
字号:
function [shanonCapacity powerAllocated] = ofdmwaterfilling(...
nSubChannel,totalPower,channelStateInformation,bandwidth,noiseDensity);
%
%==========================================================================
% by:
% Hamid Ramezani
% my email : hamid.ramezani@gamil.com
%
% Date:
% 20 OCT 2006 , version 1
%
%
% to maximize the capacity of a frequency selective channel, the
% waterfilling algorithm is used. OFDM modulation devides the total
% bandwidth into N subchannels. Large number of subchannels cause each
% subchannel experience a flat fading channel if the proper cyclic prefix
% is added to the end of each OFDM symbol. The waterfilling algorithm
% assigns more power to subchannels which experience good condition and may
% assign no power to bad conditioned subchannels (subchannels withdeep fading).
%
% for further information see:
% J. A. C. Bingham, 揗ulticarrier Modulation for Data Transmission:
% an Idea whose Time Has Come,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -