cpmmod.asv

来自「cpm连续相位调制系统的matlab仿真程序」· ASV 代码 · 共 14 行

ASV
14
字号
%  function [x,state_next]=cpmmod(T,Ts,state_pre,n,I,h1,h2)

% double-h CPM modulator
% carrier frequency:fc
% modulator index: h=[h1,h2]
% symbol period:   T
% sample period:   Ts
% phase state(history phase acc):  theta
% sample counter:n

function [x]=cpmmod(fc,T,Ts,state,index_sym,index_sample,I,hn)

x=cos(2*pi*fc*index_sample*Ts+2*pi*I*hn*1/(2*T));

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?