MATLAB Answers

use probplot two dimension

2 views (last 30 days)
ahmed youssef
ahmed youssef on 29 Dec 2016
Commented: Warda Panondi on 15 Nov 2019
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

Sign in to comment.

Answers (1)

Vishal Neelagiri
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
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
Thank you so much ahead.
Best Regards,
Warda

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!