You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This water filling algorithm take 3 inputs.
a) Length of each "floor" (column vector).
b) Height of each "floor" (column vector).
c) The water volume (scalar)
The outputs are :
a) The volume above each "floor" (column vector).
b) The water level (scalar)
The loop number implemented inside code is same with the number of "floor" (or the number of antenna relay). The length "floor" may be different each other.
The picture in the upperleft of this website shows the result with following implementation on command window.
>>length = [3 2 2 1]';
>>height = [6 8 1 3]';
>>totalVolume = 19;
>>[eachVolume, waterLevel] = waterFilling(length, height, totalVolume);
Hope This useful.
Any suggestion are welcome.
Cite As
Siro juddin (2026). Water Filling Algorithm for MIMO System (https://in.mathworks.com/matlabcentral/fileexchange/68182-water-filling-algorithm-for-mimo-system), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (1.66 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
