做这种类似算法或者模型的仿真,我觉得关键是对背后理论的透彻理解;其实用matlab搭建这种仿真模型相对来说反而是简单的;
我个人习惯用matlab .m的语言来搭建仿真模型;不推荐用simulink,尤其是稍微复杂一点的系统;
modeling and simulation的书籍参考《systems simulation with wireless applications》, William H. Tranter;
《simulation techniques--models of communication signal and processes》,Floyd M. Gardner;
我搭建过一个DPLL的仿真模型,用于power line communication system的;
不方便给出具体的源代码,这里只给出 具体的 block diagram ;
如果有需要,可以email 讨论,谢谢!