use probplot two dimension
4 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Vishal Neelagiri
on 3 Jan 2017
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 Comment
Warda Panondi
on 15 Nov 2019
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/248465/probabilityPlot.jpeg)
Thank you so much ahead.
Best Regards,
Warda
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!