Hi all, I am working on radar receiver to test its performance via ROC curve. ROC curve is between SNR ( signal to noise ratio) and Pd(probability of detection) at given Pfa(Probability of false alarm). I need to plot these curves with "probplot"(SNR - x-axis) and Pd( y-axis). Moreover, I need all plots in one curve.(hold on didn't work). any suggestion?. Thank you in advance.

답변 (1개)

Vishal Neelagiri
Vishal Neelagiri 2017년 1월 3일

0 개 추천

You can use a syntax similar to the following lines of code to plot more than one 'probplot' in one graph:
x1 = wblrnd(3,3,100,1);
x2 = raylrnd(3,100,1);
x3 = raylrnd(3,100,1);
probplot('weibull',[x1 x2 x3])
You might also find this documentation page helpful:
https://www.mathworks.com/help/stats/probplot.html

댓글 수: 1

Warda Panondi
Warda Panondi 2019년 11월 15일
Dear Vishal,
I just what to ask on how to plot linear probablity plot as the picture shown. you used random numbers in your code, but what if there is a x and y values?
for example.
x=[ 44 38 36 35 27 26.5 26 26 24 23.5 23 23 21 20.5 19.5 19 19 19 19 19 18 18 17.6 17 17 17 16 16 16 16 14.5 14 13 11 11 10 9 8.5 ]
y = [ 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 ]
probabilityPlot.JPG
Thank you so much ahead.
Best Regards,
Warda

댓글을 달려면 로그인하십시오.

카테고리

태그

질문:

2016년 12월 29일

댓글:

2019년 11월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by