https://es.mathworks.com/help/comm/ref/qamdemod.html
qamdemod - Quadrature amplitude demodulation - MATLAB
This MATLAB function returns a demodulated signal, Z, given quadrature amplitude modulation (QAM) signal Y of modulation order M.
quadratureamplitudedemodulationmatlab