Need basic MATLAB code upon Rate Splitting Multiple Access (RSMA)

23 views (last 30 days)
Do anybody have basic MATLAB code upon Rate Splitting Multiple Access (RSMA), i.e. to get basic idea about the implementation of RSMA in MATLAB, Generation of common and private messages in MATLAB, etc...??
  3 Comments
Rajashekhar
Rajashekhar on 1 Apr 2024
Prof Bruno Clerckx has provided some rate-splitting codes in his website, you can check those.
苏骏 钱
苏骏 钱 on 5 Apr 2024
Sorry, I couldn't find the website you mentioned. Could you please provide me with a specific URL?"

Sign in to comment.

Answers (1)

Parth Saraf
Parth Saraf on 13 Jul 2023
Edited: Parth Saraf on 13 Jul 2023
Hi,
This is the basic Matlab code for the implementation of RSMA which I had tried. This might be helpful to you.
M = 4;
N = 100;
K = 2;
s = randn(M, N);
i = randn(M, N);
n = randn(M, N);
Ps = 1;
Pi = 0.5;
X = sqrt(Ps)*s + sqrt(Pi)*i + n;
Rxx = (1/N) * (X * X');
[V, D] = eig(Rxx);
[~, indices] = sort(diag(D), 'descend');
Us = V(:, indices(1:M - K));
Ui = V(:, indices(M - K + 1:end));
w = (Us * Us' + Ui * Ui') \ Us;
y = w' * X;
Hope this helps!
  1 Comment
Rajashekhar
Rajashekhar on 13 Jul 2023
Edited: Rajashekhar on 13 Jul 2023
Thank you for answering. But I think it is not correct as there are no specific common and private messages anywhere in the code.
If possible provide the MATLAB code to plot the Weighted sum rate (WSR) versus SNR comparisons of 1-layer Rate-Splitting (or any other RSMA scheme), NOMA, SDMA, Multicast schemes.

Sign in to comment.

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!