Code Monkey home page Code Monkey logo

5g-nr-sphere-decoding's Introduction

5G-NR-Sphere-Decoding

Matlab Implenmentation of 5G NR MIMO Sphere Decoder

  • Tree traverse stratigies: single tree search
  • Support different modulation schemes for each Tx antenna

The implementation sphere decoding algorithms(single tree seach)for seeking the maximum-likelihood solution for a set of symbols transmitted over the MIMO channel.

function [out,nVistedNodes] = nrSphereDecoder(H,rxSymbs,moduTypes,outType)
% [out,nVistedNodes] = nrSphereDecoder(H,rxSymbs,moduTypes,outType) uses sphere decoding algorithms
% (single tree seach)for seeking the maximum-likelihood solution 
%  for a set of symbols transmitted over the MIMO channel. 
% Input:
%   H - channel matrix Nr X Nt
%   rxSymbs - received symbols: Nr X 1
%   moduTypes - nodulation for each tx antenna in a cell array of 1 X Nt
%   outType - 'soft' or 'hard'
% Output:
%   out - soft bits or hard bits output, soft bits (not sacled by 1/N0)
%   nVistedNodes - number of leaf nodes traversed
% source paper: 
%   "Soft-Output Sphere Decoding: Performance and Implementation Aspects"
% Author: Dr J Mao
% Email: [email protected]
% 2021 Nov
%--------------------------------------------------------------------------

Example run simlation results

Start by try example_run.m

Sim Results
------------------
Tx Antennas:4,Rx Antennas: 8 
Modulations:    {'qpsk'}    {'qpsk'}    {'64qam'}    {'64qam'}

(Hard SD) Error bits: 0 out of 16
--(Hard) 96 of 65536 leaf nodes are visited. (Soft) 15448 of 65536 leaf nodes are visited
(ZF) Error bits: 9 out of 16
(MMSE) Error bits: 9 out of 16

5g-nr-sphere-decoding's People

Contributors

just1ngh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.