資源簡介
自己寫的關(guān)于循環(huán)自相關(guān)函數(shù)的快速計算方法,不同的調(diào)制方式只要更改x_t表達式即可
代碼片段和文件信息
close?all;
clear?all;
clc;
T?=?512;
t?=?0:T-1;
L?=?61;
snr?=0;
%**************生成?x(t)信號?**********
a?=?-log(rand(1T));
numerator?=?[001];
denominator?=?[1-0.9(0.45+0.35*j)*(0.45-0.35*j)];
w_t?=?filter(numeratordenominatora);
w0?=?pi/4;
s_t?=?w_t.*cos(w0*t);
x_t?=?awgn(s_tsnr‘measured‘);
x_tao?=?[x_t(1+tao:T+tao)?x_t(1:
評論
共有 條評論