Both indicators are used. It depends what you mean in speaking of your indicators.
One of common usages is to compare systems where we use indicators of the same type. For example,
to compare 5G NR and LTE RANs, we usually use max throughput which is defined as the multiplication of number of antennas, number of subcarriers and QAM order per subframe. There ...
That is the whole point of decoding: to get the original sequence back, if possible. So, this is doing exactly what you'd want. In many decoders (such as the Viterbi), the transmitted code bit sequence is never explicitly recovered anywhere.
As Dilip's answer shows: You can, however, determine the original transmit sequence by re-encoding the decoded bits.
Yes, it is possible to determine the path that the Viterbi algorithm found through the trellis. Just apply the encoding algorithm to what you are calling Y_dec and you will get the corresponding codeword of length $2048$. You can then compare it to Y, the transmitted codeword, to see where the channel made errors.
If the data to be ...
As specified in documentation, using 'ParityCheckMatrix' you can configure the Parity Check Matrix (PCM) during the constructions of the encoder/decoder objects.
The syntax is encoder = comm.LDPCEncoder('ParityCheckMatrix',pcm) or simply
encoder = comm.LDPCEncoder(pcm);
where pcm is the desired PCM which must be sparse type.
An example for (probably poor ...
According to my reading, LDPC is almost the best channel coding we can use for channel coding, but I have a question regarding that kind of coding.
Mentally, something being "the best" should always instantly raise a mental flag for you, saying "under which conditions, according to which measure".
It is right that iterative LDPC decoders ...