stiansjogren icon

calcSNR - correct

stiansjogren | PRO | 10/07/16 09:09:52 AM UTC | 0 ⭐ | 8052 👁️ | Never ⏰ | []
MatLab |

270 B

|

None

|

0 👍

/

0 👎

function SNR = calcSNR(Pd, Pfa, n)
    % n   - number of hits/scan
    % Pd  - prob of detection
    % Pfa - prob of false alarm
    A = log(.62/Pfa); B = log(Pd/(1-Pd));
    SNR = -5*log10(n) + (6.2 + 4.54/(sqrt(n+.44)))*log10(A + .12*A*B + 1.7*B);% SOme error here
   
end

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎