Home > By category > Scripts >Communication > Calculation of LLR values with variable noise variance



Calculation of LLR values with variable noise variance

  • Downloads: 
  • Views: 
  • Rating:

LLR_DEMOD LLR Demodulator
H = LLR_DEMOD_MEX(CONSTELLATION, MAPPING, METHOD) constructs
a LLR demodulator object H for a given constellation, mapping and noise
variance. The vectors CONSTELLATION and MAPPING are usually generated by
using MATLAB Modem Modulation Modem.<Type> and contain the complex or
real constellations points and the bit mapping, but in generall any signal
constellation and any bit-mapping can be used. METHOD determines whether
the exact LLR values or the approximations are calculated. (for more information:
http://www.mathworks.com/help/toolbox/comm/ug/bqwswmc-1.html)

A LLR demodulator object is equipped with one function:
- CALC_LLR (type "help llr_demod/calc_llr" for detailed help)

Input: CONSTELLATION [1xM]
MAPPING [1xM]
Method ['exact', 'approx']

Output: H [1x1]

Important: Before you can start you have to compile the mex-file mex_calc_llr.cpp by executing compile_mex_calc_llr.m. There is a test file and a small example of a simulation framework which will be extended in future updates. The old files can be found in the subdirectory OLD.

#######################################

These are the basic commands lines:

llr_demod_obj = mex_llr_demod(Constellation,Mapping,Methode); generate object

llr = calc_llr(llr_demod_obj,r,noise_var); % calculate llr values

New: Noise_var don't have to be a scalar value, but may be a vector of the same length as vector r.
########################################

Small example of a simulation framework:

EbN0 = 5; %dB
M = 16; % 2, 4, 16, 64 .... - QAM
fading = 1; % fading on/off

get M-QAM constellation and mapping
h_mw = modem.qammod('M',M,'InputType', 'Bit','SymbolOrder','Gray');
constellation = h_mw.Constellation;
mapping = h_mw.SymbolMapping;

get variance of signal constellation (needed for the calculation of the
noise variance)
sigma_a2 = sum(abs((constellation - mean(constellation))).^2/length(constellation));

calculation of the noise variance
EsN0 = 10*log10(10.^(EbN0/10) * log2(M));
sigma_n2 = sigma_a2./(10.^(EsN0./10));

llr_demod_obj = mex_llr_demod(constellation,mapping,'exact'); generate object

for i = 1:100 % demodulate 100 frames of 1000 M-QAM Symbols

generate bitstream
u = randi([0 1],1000*log2(M),1);

do modulation with matlab object
x = modulate(h_mw,u);

generate fading factors
if fading
H = 1/sqrt(2)*randn(size(x)) + 1i * 1/sqrt(2) * randn(size(x));
else
H = 1;
end

calculate received signal
r = x.*H + sqrt(0.5*sigma_n2)*randn(size(x)) + 1j * sqrt(0.5*sigma_n2)*randn(size(x));

do Zero Forcing Equalization
r_hat = r./H;

do demodulation (with variable NOISE_VAR sigma_n2./abs(H).^2)
llr = calc_llr(llr_demod_obj, r_hat, sigma_n2./abs(H).^2);

end

Free download from Shareware Connection - LLR_DEMOD LLR Demodulator H = LLR_DEMOD_MEX(CONSTELLATION, MAPPING, METHOD) constructs a LLR demodulator object H for a given constellation, mapping and noise variance.

Publisher: Bernhard Schmidt | License: Freeware | Price: 0.00
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 21-05-2013 | Rating: 0 | Title: Calculation of LLR values with variable noise variance

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/30110/7/calc_llr.zip

More downloads from Calculation of LLR values with variable noise variance publisher Bernhard Schmidt:

DVB-S2 - Getting Signal Constellations and Bit Mappings - %DVBS2Constellation Signal Constellations taken from ETSI EN 302 307

Mapper for Arbitrary Signal Constellations - H = SIGMAPPER(CONSTELLATION, MAPPING) constructs a SIGMAPPER object H to

Calculation of LLR values with variable noise variance keywords:
Calculation of LLR values with variable noise variance related downloads:

STOIK Noise Autofix - STOIK Noise Autofix automatically cleans noise in digital photos while preserving image details and sharpness. The noise is reduced by 2 - 3 stops, so that the noise level of the photo shot at ISO 1600 is effectively reduced to ISO 200 - 400 levels.

Vector NTI Viewer - Vector NTI Viewer, a freeware program, allows scientists to study and analyze biological molecules.

IGEOCODE Canada Postal Code Basic Edition - IGEOCODE Canada Postal Code Basic Edition includes a total of 4 data fields: Postal Code, City, Province Abbreviation and Area Code.

IGEOCODE US ZIP Codes Basic Edition - IGEOCODE US ZIP Codes Basic Edition includes 9 data fields which consist of: ZIP Code, City, State, County Name, Area Code, Primary Record, City Alias Name, City Type and Mailing Name.

Medical Terminology - Basic Definitions - Medical Terminology - Basic Definitions is educational software that allows you to test your medical vocabulary and knowledge.

Shareware Connection periodically updates pricing and software information of 'Calculation of LLR values with variable noise variance' from company source 'Bernhard Schmidt' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'Calculation of LLR values with variable noise variance' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Calculation of LLR values with variable noise variance.

New Reviews

PictBear - Nowadays, a majority of PC users resort to digital image editing once in a while. It may be required for retouching image captured in smart phones or for creating an album in Facebook. For some people, tinkering with digital images is a pastime ...

CyberGhost VPN - There are so many ways available to browse the web nowadays. You can use a plethora of devices and pick from various service providers to get online. However, tech savvy users resort to additional measures to access the internet without being ...

Back4Sure - Given the fact nearly every PC user is dealing with huge amounts of data nowadays it becomes necessary to keep a backup of all such contents. You need to use a suitable app to take backups of all those precious movies, music, personal data, and ...

Spotflux - Browsing the internet is a common activity among PC users nowadays and it is required for work and personal purposes almost on a daily basis. However, with malware invasion on rise and hackers on prowl, web browsing and download safety has become ...

Baidu PC Faster - To keep your laptop or desktop computer running at peak speed and extract optimal performance out of it, using third party apps may be necessary. While some users still rely on Windows inbuilt PC cleanup and maintenance tools, some third party ...

Cyotek WebCopy - It will be hard to find a computer user nowadays who does not need to access the web. Using web has become near mandatory for various personal and professional reasons. However, not everyone who owns a computer and accesses the web is blessed ...

MiniTool Partition Wizard Home Edition - It is true that you need a powerful CPU and adequate amounts of RAM to keep your computer running smoothly. However, it is also necessary to ensure that the hard disk remains in top condition. Hard disk needs to be properly optimized and ...

Machete Video Editor Lite 3.8 build - Average PC users are no longer strangers to video file handling and editing. There are so many sources from where you acquire video files, as it is. You also need to deal with video clips acquired from cameras and smart phones. At times, you may ...

Privatefirewall - Everything in life has two sides to it and same can be said about technological innovations. It is quite hard to carry out most activities without resorting to the web these days. Yet the internet itself is also the reservoir of malicious ...

PhotoScape - Using photo editors is not limited to the circles of graphic designers and print media professionals anymore. Nearly every PC user has some or other image editing app installed in his or her PC. Given the rise of digital camera usage and smart ...




New Downloads

MacX iPhone DVD Ripper

MacX iPhone DVD Ripper
provides perfect solution to
rip DVDs to iPhone 6/6 Plus,
iPhone 5S/5C/5, iPhone
4S/4/3GS, iPod, ...

Dropbox

Allow site visitors to upload
files to multiple directories
without being able to modify
or change those files. ...

Agnitum Outpost Security
Suite Free

Anti-virus, anti-spyware,
firewall, anti-spam, and more
for all-round proactive
protection that's totally
free.

STIVA Shopping Cart

Ready to use multilingual
online shopping cart script to
help you build ecommerce
websites: responsive front-end
design, ...

.NET Telnet Shell Component
CS VB.NET ASP

Easily add Telnet and Telnet
connectivity to your .NET
applications. In addition, it
also adds exclusive Telnet and
...

Menu for applications

Menu for applications script
helps you to create a complex
navigation menu for your
applications.

Chat

A plugin to talk online with
the other users of a blog.

geom2d

Library to handle and
visualize geometric primitives
such as points, lines, circles
and ellipses, polylines and
polygons...

nextperm

Using lexical order on the set
{1, 2, ..., N}, outputs the
next permutation of the
ordered tuple x

cofactors

When a user enters an n x n
matrix eg

Marine Automatics

The library has been created
as a part of a master's thesis
(supervisor Jerzy Brzozka, Ph.
D. Eng.)

Soft Handover Probability
as a funiction of the Soft
Handover Threshold

This simple m-file plots the
Soft Handover probability as a
function of the Soft Handover
Threshold value used in the
...