histogram関数を使う場合、プロットしないでオブジェクトだけを取得するにはどうすればよいですか?
Afficher commentaires plus anciens
x = randn(10000,1);
h = histogram(x)
を実行すると、ヒストグラムがプロットされます。
プロットしない(非表示)でオブジェクトhだけを取得するにはどうすればよいですか?
Réponse acceptée
Plus de réponses (1)
Kenta
le 1 Avr 2020
0 votes
こんにちは、histcounts関数を使えば、ヒストグラムの頻度やそのレンジを求めることができます。詳しくは、以下のドキュメントをご覧ください。
Catégories
En savoir plus sur Histograms dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!