5.0

5.0 | 1 rating Rate this file 27 Downloads (last 30 days) File Size: 5.34 KB File ID: #19303
image thumbnail

greedy algorithm in OFDM resource allocation (single user)

by

 

23 Mar 2008 (Updated )

the implemention of greedy algorithm in mex file

| Watch this File

File Information
Description

As the power needed to transmit a certain number of bits in
a subcarrier is independent of the numbers of bits allocated to
other subcarriers, it turns out that a greedy approach is optimal.
A greedy algorithm assigns bits to the subcarriers one bit at a
time, and in each assignment, the subcarrier that requires the
least additional power is selected. The bit allocation process
will be completed when all required data rate is satisfied.

Required Products Aerospace Blockset
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
18 Mar 2013 Hamid Ramezani

For those who are working with MATLAB on a 64 bit operating system, please build a 64 mex function for the c code inside the zip folder.

The instruction is as follow:

1. mex -setup (choose the appropriate compiler)
2. mex greedyAlgSingleUser.c (building mex function)

Hamid Ramezani.

13 Jun 2012 Varuna De Silva

Thanks Hamid, this code is very helpful as a starting point.

However, I have a doubt in your calculation of individual channel SNR's after SC allocation.

In the program channel SNR = Pt / CSI^2, for fourth image.

however, shouldn't it be SNR = Pt*CSI^2/ variance of AWGN ?

19 Dec 2009 zhongxiong duan

Thank you .The result is good.

07 Nov 2009 subbu ks

how to run thus file.showing error in greedyAlgSingleUser...can u please suggest me at earliest

08 Apr 2009 yang lin

how to use it?

Contact us