www.gusucode.com > MPSK,误码率性能仿真源码程序 > MPSK,误码率性能仿真源码程序/IET_MATLAB/functions/diff_detector.m
% nonCoherent Detector % y : DMPSK symbols, a vector N*1 % vh: decoded MPSK, a vector (N-1)*1 function vh= diff_detector(y) vh=conj(y(1:end-1)).*y(2:end); end