Support EVM for PRACH in 5G

7 次查看(过去 30 天)
Georges Antoun
Georges Antoun 2023-2-13
Is there any example that supports extracting the EVM from the PRACH Channel in 5G?
  • if yes, Could you please share it with us?
  • if no, Could you please suggest any helper function or steps to calculate the PRACH EVM?

回答(1 个)

Anshuman
Anshuman 2023-4-19
Yes, it is possible to extract the EVM (Error Vector Magnitude) from the PRACH (Physical Random Access Channel) in 5G. Here is an example workflow for extracting the EVM from the PRACH in MATLAB:
  • Generating the PRACH signal
carrier = nrCarrierConfig; % Create a carrier configuration object
prach = nrPRACH(carrier); % Generate the PRACH signal
  • Adding noise to the signal
snr = 15; % Signal-to-noise ratio in dB, adjust it to match the desired noise level
prach_noisy = awgn(prach, snr, 'measured'); % adding white gaussian noise
  • Demodulate the signal
[ref, ~] = nrPRACHSequence(carrier); % Generate the PRACH reference symbols
prach_demod = nrPRACHDemodulate(prach_noisy, carrier.NSize, ref);
  • Compute the EVM using the reference symbols and the demodulated PRACH signal
evm = comm.EVM;
[~, emod] = step(evm, ref, prach_demod);
Here emod variable will contain the EVM in percent.
Hope it helps!

类别

Help CenterFile Exchange 中查找有关 Circuit Envelope Simulation 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by