how to change the histogram to the vector?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how to prove the histogram can be changed in the form of a vector?
0 commentaires
Réponse acceptée
Image Analyst
le 10 Oct 2012
The histogram is normally already a vector of counts - the frequency of occurrence of values in your data. Nothing to convert - it's already a vector.
[counts values] = hist(data); % counts is a vector.
2 commentaires
Plus de réponses (1)
Walter Roberson
le 10 Oct 2012
You could create a histogram plot, and then go into the resulting barseries object and retrieve the YData from that object, and compare it to the original counts, and then use that retrieved set of counts to create a second histogram that will then look just like the first. The fact that the vector of data contains enough information to recreate the histogram plot will establish that the histogram can be converted to the vector.
10 commentaires
Walter Roberson
le 12 Oct 2012
In the formula you show, what is the dot operator, as in
(P-Pbar) . (Q-Qbar)
Is it the dot product?
Voir également
Catégories
En savoir plus sur Histograms dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!