- Generate random symbols
how can i obtains the SER for the system assuming the channels are known
2 views (last 30 days)
Show older comments
i want to get the SER for sytem for communication sytems assumingthe channels are known if anyone can help
0 Comments
Answers (1)
Samhitha
on 18 Jun 2025
Edited: Samhitha
on 18 Jun 2025
To compute SER (Symbol Error Rate) for a communication system, assuming channels are known at the receiver, you follow these steps:
M = 16; % Example: 16-QAM
numSymbols = 1e5;
data = randi([0 M-1], numSymbols, 1);
2. Modulate the symbols
txSymbols = qammod(data, M, 'UnitAveragePower', true);
3. Apply the channel (assume known)
H = (randn + 1j*randn)/sqrt(2); % Example: flat fading coefficient
rxSymbols = H * txSymbols;
4. Add noise
SNR_dB = 20; % Example SNR
rxSymbolsNoisy = awgn(rxSymbols, SNR_dB, 'measured');
5. Equalize using known channel
rxEqualized = rxSymbolsNoisy / H;
6. Demodulate
rxData = qamdemod(rxEqualized, M, 'UnitAveragePower', true);
7. Compute SER
SER = sum(rxData ~= data) / numSymbols;
For more details, you may look into following documentation:
Hope this helps!
0 Comments
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!