フィルターのクリア

histogram of iterated values

1 回表示 (過去 30 日間)
María Jesús
María Jesús 2015 年 1 月 26 日
編集済み: Guillaume 2015 年 1 月 26 日
Hi,
I have a program that estimates a parameter from data with random noise. Since the noise is random, the estimate is different each time. I'm using a for loop to run the program multiple times. Is there a way of producing a histogram of the estimate from 100 runs?
Thanks!

採用された回答

Guillaume
Guillaume 2015 年 1 月 26 日
編集済み: Guillaume 2015 年 1 月 26 日
numberofruns = 100;
results = zeros(1, numberofruns);
for run = 1:numberofruns
results(run) = yourfunction();
end
histogram(results);

その他の回答 (0 件)

カテゴリ

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