Shnidman’s equations

10 ビュー (過去 30 日間)
Meshaal Mouawad
Meshaal Mouawad 2019 年 10 月 6 日
コメント済み: Honglei Chen 2019 年 10 月 7 日
the Shnidman’s equations in matlab plot SNR vs pfa but I want to plot SNR vs N pulses
for example the probability of detection, a Swerling 1 target, three different probabilities of false alarm, Pd = 0.98; Swerling 1target; PFA = 10^‐8 ,10^‐6, 10^‐4
; N = 1 to 50
I am new to matlab and would love to know how to plot this

採用された回答

Honglei Chen
Honglei Chen 2019 年 10 月 7 日
In this case you can use shnidman to compute the SNR as a functionof N and then plot it manually, e.g.
N = 1:50;
Pd = 0.98;
Pfa = 1e-6;
SNR = zeros(size(N));
for m = 1:numel(N)
SNR(m) = shnidman(Pd,Pfa,m,1);
end
plot(N,SNR);
xlabel('Number of Pulses');
ylabel('SNR (dB)')
HTH
  7 件のコメント
Meshaal Mouawad
Meshaal Mouawad 2019 年 10 月 7 日
I got it ! by defining Pfa = [Pfa1 Pfa2 Pfa3 ...etc] where Pfa's is the number of Pfa nedded exp: [1e-3 1e-4 1e-5]
N = 1:50;
Pd = 0.98;
Pfa = [1e-8 1e-3 1e-5];
SNR_1 = zeros(size(N));
SNR_2 = zeros(size(N));
for m = 1:numel(N)
SNR_1(m) = shnidman(Pd,Pfa(1),m,1);
SNR_2(m) = shnidman(Pd,Pfa(2),m,1);
SNR_3(m) = shnidman(Pd,Pfa(3),m,1);
end
plot(N,SNR_1);
hold on
plot(N,SNR_2);
plot(N,SNR_3);
xlabel('Number of Pulses');
ylabel('SNR (dB)')
Honglei Chen
Honglei Chen 2019 年 10 月 7 日
very nice, glad you got it

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRange and Doppler Estimation についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by