% This program is used to produce Fig. 4.14 clear all pfa = 1e-9; nfa = log(2) / pfa; index = 0; for snr = -10:.5:30 inde…
SNR估计 源代码
汇集 SNR估计 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
% This program is used to produce Fig. 4.13 clear all pfa = 1e-9; nfa = log(2) / pfa; index = 0; for snr = -10:.5:30 inde…
% This program is used to produce Fig. 4.11a&b clear all pfa = 1e-6; nfa = log(2) / pfa; index = 0; for snr = -10:.5:30 i…
function noise=randnoise(input,snr) L=length(input); noise=awgn(input,snr,'measured');
#include "math.h" #include "stdio.h" #include "time.h" /*#defint CLOCKS_PER_SEC 18.2;*/ int KK1,IT3,N2[7],NA[1000],NB[1000…
clf; N=1024; Nfft=256; Fs=1000; n=0:N-1; t=n/Fs; randn('state',0); xn=sin(2*pi*50*t)+2*sin(2*pi*120*t)+randn(1,N); [Pxx1,f…
#include "math.h" #include "stdio.h" #include "time.h" /*#defint CLOCKS_PER_SEC 18.2;*/ int KK1,IT3,N2[7],NA[1000],NB[1000…
% ==== ==== 取协方差矩阵的上三角的数据进行学习 % ==== ==== 同时输出结果直接为角度值 % ==== ==== 不带多径的条件下,测角性能随着信噪比的变化 clc close all clear all % ==== …