Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
grouping the users thereby sharing the subcarriers
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 15 Déc 2017
That description of grouping tells us nothing about how it needs to be implemented.
Réponses (1)
Walter Roberson
le 14 Déc 2017
which_user = randi(Nuser, 1, Nsubcarrier);
newC = 0 * C;
idx = ((1:Nsubcarrier)-1) * Nuser + which_user;
newC(idx) = C(idx);
4 commentaires
Prabha Kumaresan
le 15 Déc 2017
Modifié(e) : Walter Roberson
le 18 Déc 2017
Prabha Kumaresan
le 18 Déc 2017
Modifié(e) : Walter Roberson
le 18 Déc 2017
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!