Hi, I am trying to replicate the first tutorial on PLLs and am wondering if I have a misunderstanding about the implementation. I have tried filtering s3 with a sum and explicitly using the equation for se and neither works. Here is my MATLAB code, if anyone has any suggestions it would be greatly appreciated! Thank you!