?? mpsk_impulses.m
字號:
function [x]=mpsk_impulses(M,nsymbols,nsamples)
u=rand(1,nsymbols);
rinteger=round((M*u)+0.5);
phase=pi/M+((rinteger-1)*(2*pi/M));
x=zeros(1,nsymbols*nsamples);
for m=1:nsymbols
index=(m-1)*nsamples+round(nsamples/2);
x(1,index)=exp(i*phase(m));
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -