How to do frequency allocation in Matlab

Hi everyone,
I have a data matrix of size 100*500 in which 100 are the number of users and 500 are the number of file transmission events for each user.
Also i have a frequency table of 1*125 in which there are 125 total number of frequency channels. I have to assign 1 frequency to each user for carrying out their 500 events of file transmission.
I don't know how to get start this thing ? Also i don't know how actually frequency allocation is performed in Matlab.

2 件のコメント

AARATHI SANKAR
AARATHI SANKAR 2019 年 3 月 22 日
Can you please provide the matlab code for allocating frequency channel blocks to multiple users if the number of channels is less than number of users. As per my requirement, i need to allocate 4 channels to 16 users and calculate the SINR experienced from each user on each channel.
ermias kassahun
ermias kassahun 2021 年 2 月 14 日
hi every one do have matlab code for lifi to allocate frequncey

サインインしてコメントする。

 採用された回答

Star Strider
Star Strider 2014 年 6 月 9 日

0 投票

I’m not certain I follow the technical details, but I suggest randperm for the arbitrary frequency assignment. If all the users are ‘equal’ in terms of their requirements, and all the channels are equal bandwidth, assign them randomly:
user_channel_assignments = randperm(125,100);
This will create a random vector (with unique elements) of 100 assignments out of 125 possible channels. So User(1) gets user_channel_assignments(1), and so forth, for all 100 users. Obviously, 5 channels will not be assigned. Since randperm generates a vector of non-repeating elements, all users will get unique channels. (Change the variable names to something more convenient. Mine are for demonstration only.)

7 件のコメント

Aftab Ahmed Khan
Aftab Ahmed Khan 2014 年 6 月 9 日
No, actually this is not what i am looking for. I guess you didn't my point because as you said you don't know the technical details...........Anyways thanks.
Star Strider
Star Strider 2014 年 6 月 9 日
My pleasure!
But what in particular do you want to do? Explain in a bit more detail and I’ll do my best to help.
Meanwhile, if you have access to the LTE System Toolbox you might find what you’re looking for. (I don’t have it because I don’t do communications engineering.)
Aftab Ahmed Khan
Aftab Ahmed Khan 2014 年 6 月 10 日
Hi,
Sorry i went home after replying to you yesterday. I will try to explain to you the question shortly in a better way.
Aftab Ahmed Khan
Aftab Ahmed Khan 2014 年 6 月 10 日
Hi, i have attached two data files. Both of them are 100*500 size.
Let me explain these data files to you first.
In this, 100 corresponds to 100 mobile users and 500 corresponds to 500 events for each of the 100 users.
The data i am generating is a random exponential distribution, the arrival file contains the starting time of each of the file event and the departure file contains the departure time of each file event.
Now what i want to do is, i have a total of 25 frequency channels in a freqnency Table like zeros(1,25) and i want to divide these available frequencies between these 100 users depending up on the data i have. When first event arrives it assign first frequency to it and so on, and if in the mean time any of the last occurred departs it release the frequency from it and update that frequency channel table accordingly.
Is it good enough to understand ?
Aftab Ahmed Khan
Aftab Ahmed Khan 2014 年 6 月 10 日
編集済み: Aftab Ahmed Khan 2014 年 6 月 10 日
Hi Strider,
Please let me know when you get time. Thank you.
Star Strider
Star Strider 2014 年 6 月 10 日
Thanks. I saw an opened your follow-up Question.
It’s quite appropriate as a separate Question since Questions with Accepted (thanks!) Answers generally don’t get viewed by other Contributors.
It (queueing theory) is obviously not in my areas of expertise. There may be people with communications expertise who can give you a better answer than I can, but I’ll think about it and if I come up with a solution, will post it in your other Question.
Aftab Ahmed Khan
Aftab Ahmed Khan 2014 年 6 月 10 日
Ok sure, thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by