How do I print probability distribution object into textbox?
古いコメントを表示
I got this information from the fitdist function:
Normal distribution
mu = 9.39507 [9.28818, 9.50196]
sigma = 1.52947 [1.45755, 1.60892]
How can I save it into string and print it in a textbox that is located on a figure plot?
Thank you very much dear users, great month and stay safe.
回答 (2 件)
darova
2021 年 4 月 6 日
Here
pd = makedist('Normal');
sig1 = pd.sigma
mu1 = pd.mu
3 件のコメント
Vadim Patrick Nave
2021 年 4 月 6 日
darova
2021 年 4 月 6 日
I know nothing about this. Can you show the code?
Vadim Patrick Nave
2021 年 4 月 6 日
Since you're using release R2021a you can use the new formattedDisplayText function.
x = randn(1e6, 1);
pd = fitdist(x,'Normal')
S = formattedDisplayText(pd)
カテゴリ
ヘルプ センター および File Exchange で Half-Normal Distribution についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!