Info
この質問は閉じられています。 編集または回答するには再度開いてください。
grouping the users thereby sharing the subcarriers
1 回表示 (過去 30 日間)
古いコメントを表示
Nuser=4;
Nsubcarrier=10;
G is a matrix of (users,subcarriers)%image attached below
C is subcarrier allocation to users %image attached below
could anyone tell me how to group the users as a result sharing of subcarriers takes place.
3 件のコメント
Walter Roberson
2017 年 12 月 15 日
That description of grouping tells us nothing about how it needs to be implemented.
回答 (1 件)
Walter Roberson
2017 年 12 月 14 日
which_user = randi(Nuser, 1, Nsubcarrier);
newC = 0 * C;
idx = ((1:Nsubcarrier)-1) * Nuser + which_user;
newC(idx) = C(idx);
4 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!