Support EVM for PRACH in 5G
Afficher commentaires plus anciens
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?
Réponses (1)
Anshuman
le 19 Avr 2023
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.
Helpful links: https://www.mathworks.com/help/comm/ref/awgn.html, Generate PRACH OFDM modulated waveform - MATLAB nrPRACHOFDMModulate (mathworks.com)
Hope it helps!
1 commentaire
Srinath Bagal
le 29 Mai 2023
Hi,
Is nrPRACHDemodulate available in R2022a toolbox?
Catégories
En savoir plus sur 5G Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!