Dear all,

I have implemented a digital PPM modulation in Matlab. Because I'm using an additional FEC LDPC code I need the log-likelihood-ratios (llr) of all sent bits. I implemented this function correctly and it is working.

My problem is that my algorithm even I tried to avoid for loops (nealry all of them) the algorithm is too slow. I know that for example the modem.pammod modulation object can also calculate the llr and this extremely fast. I tried to find the used function, but without success.
Do you know how I could find this function which is regarded to the modem class?