Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function E = efficiencyFactor(Pd, Pfa, n)
- SNR1 = zeros(1,numel(pd));
- SNRn = zeros(1,numel(pd));
- for i=1:numel(Pd)
- %SNR for sigal pulse
- SNR1(i) = calcSNR(Pd(i),Pfa,1);
- %SNR for n signal pulses
- SNRn(i) = calcSNR(Pd(i),Pfa,n);
- end
- for i=1:numel(Pd)
- E(i) = SNR1(i)/ (n*SNRn(i));
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement