Home » Source Code » LDPC code program

LDPC code program

我是小雪花哈
2013-11-26 10:51:20
The author
View(s):
Download(s): 3
Point (s): 1 
Category Category:
MatlabMatlab MatlabMatlab

Description

N LDPC constructs

LDPC codes program

clear all;

%clc;

tic


%rows=128;

%cols=256;

rows=3000;

cols=4000;


s=round(rand(1, cols-rows));

% H-matrix

H=genH(rows,cols);

% Use of h-matrix for LDPC codes

[u,P,rearranged_cols]=ldpc_encode(s,H);

SNR=10;

amp=1;

tx_waveform=bpsk(u,amp);

rx_waveform=awgn(tx_waveform,SNR);

scale(1:length(u))=1; %No fading.

%LDPC decode

[uhat vhat]=ldpc_decode(rx_waveform,SNR,amp,scale,H,rearranged_cols);

errmax=find(s~=uhat);

nerr=length(errmax)

toc

Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
n_ldpc_coding.m80.00 B26-06-13 15:03
<n_ldpc_coding>0.00 B03-11-13 09:59
围长至少为8的QC-LDPC码的新构造-一种显式框架.pdf722.56 kB01-11-13 15:49
...
Sponsored links

Comments

(Add your comment, get 0.1 Point)
Minimum:15 words, Maximum:160 words
sq692363@sina.com
2016-04-16

对我来说并没有得到帮助,但是还是感谢分享

mejow
2018-06-09

感谢分享,感谢分享

  • 1
  • Page 1
  • Total 1

LDPC code program (700.79 kB)

Need 1 Point(s)
Your Point (s)

Your Point isn't enough.

Get 22 Point immediately by PayPal

Point will be added to your account automatically after the transaction.

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more Points

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D