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!