フィルターのクリア

what is the code for bin histogram of fraction to the bin

3 ビュー (過去 30 日間)
Pooja Jangra
Pooja Jangra 2020 年 10 月 24 日
コメント済み: Pooja Jangra 2020 年 10 月 29 日

回答 (1 件)

Sindar
Sindar 2020 年 10 月 25 日
You can specify the histogram edges like this, with the height of the bars normalized to %:
x = randn(1000,1);
edges = 25:5:50;
h = histogram(x,edges,'Normalization','probability'));

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by