Is it possible to find the x value for a given y value of a fitdist() distribution?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Andrew Feenan
am 15 Aug. 2022
Beantwortet: Andrew Feenan
am 16 Aug. 2022
Hi,
I'm using a probplot to display 500ish data points. I have this setup in a AppDesigner app. A distribution line can be added using the fitdist function as show below
DataType = app.DataTypeDropDown.Value;
dataFit = app.SelectFitDropDown.Value;
DistributionType = app.DistributionDropDown.Value;
device = app.DeviceDropDown.Value;
LegendName1 = ' Distribution Fit';
LegendName2 = ' ';
legendname = append(device,LegendName2,dataFit,LegendName1);
z = app.distData(:,device);
array = table2array(z);
array = str2double(array);
pd = fitdist(array(:,1),dataFit);
pp = probplot(app.UIAxes,pd);
set(pp,'color',app.colourMatrix(app.colourCounter,:),'DisplayName', legendname,'LineWidth', 1.5);
pp.ShowPoles = 'off';
When the fitted distribution is fitted, I would like to add a straight vertical line through the fitted distribution for a given Y value.
Is it possible to do this using the fitdist distribution or similar?
4 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!