Normalizing histogram counts to 1

4 vues (au cours des 30 derniers jours)
Turbulence Analysis
Turbulence Analysis le 17 Mar 2022
Hi,
I am trying to normalize the histogram counts in the from of 0 to 1 using the below script. However, I am not getting my counts in the range of 0 to 1.
PS - I have also attached my data here..
histogram(Output, 'Normalization', 'pdf');

Réponses (1)

David Hill
David Hill le 17 Mar 2022
Don't you want probability.
histogram(Output, 'Normalization', 'probability');
  3 commentaires
David Hill
David Hill le 17 Mar 2022
help histogram
Turbulence Analysis
Turbulence Analysis le 17 Mar 2022
Okay , got it.. Thanks..

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by