Fill below function fplot

12 ビュー (過去 30 日間)
Joaquin Saldain
Joaquin Saldain 2018 年 7 月 25 日
回答済み: dpb 2018 年 7 月 25 日
How to fill the area below this Beta density, between x=0 and x=0.5.
% fplot(@(x) betapdf(x,a_beta,b_beta),[0 1],'b');
  1 件のコメント
madhan ravi
madhan ravi 2018 年 7 月 25 日
can you check out area documentation?

サインインしてコメントする。

採用された回答

dpb
dpb 2018 年 7 月 25 日
Madan's comment amplified...
fnF=@(x) betapdf(x,a_beta,b_beta);
figure
fplot(@(x) betapdf(x,a_beta,b_beta),[0 1],'b');
hold on
x=linspace(0,0.5);
area(x,fnF(x))

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNetworks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by