Introduction - If you have any usage issues, please Google them yourself
Phase-locked loop used in the communication is very common, this code using matlab prepared, tested and approved, phase-locked loop simulation (source code and simulation results)