Encode binary lowdensity paritycheck code specified by paritycheck matrix
Block sublibrary of Error Detection and Correction
This block supports encoding of lowdensity paritycheck (LDPC) codes, which are linear error control codes with sparse paritycheck matrices and long block lengths that can attain performance near the Shannon limit.
Both the input and the output are discretetime signals. The ratio of the output sample time to the input sample time is $$k/n$$. The input must be a real $$k\times 1$$ column vector signal.
The output signal inherits the data type from the input signal, and the input must be binaryvalued (0 or 1). For information about the data types each block port supports, see the Supported Data Type table on this page.
Note: Model initialization or update may take a long time, because a large matrix may need to be inverted (when the last (n – k) columns of the paritycheck matrix is not triangular). 
This block can accept a sparse matrix with dimension n k by n (where n >k > 0) of real numbers. All nonzero elements must be equal to 1. The upper bound limit for the value of n is 2^{31}1
The default value is the paritycheck matrix of the halfrate LDPC code from the DVBS.2 standard.
Port  Supported Data Types 

In 

Out 
