fs = 100; %采样频率fc = 10; %正弦波中心频率t = 0:1/fs:1; %时间x = sin(2*pi*fc*t); %正弦波y = awgn(x,10); %加入awgn噪声,10指的是信噪比为10dB
同求。。。