Hhhhhhhh What do you want Mr Kazem!!! Matlab is meant to prove math through math... not like ModelSim prove math through hardware, even though it's not giving correct results. Problem is either in the idea, or in our predictions. Idea is true since it's not that hard to write mathematical equations in Matlab.
I have a question, how different is a Costas Loop for QPSK than BPSK? I think it should be the same with one difference, the quadrature component in BPSK has no information while it does have in QPSK, and it should not affect Costas Loop in both cases. Is this correct?