# What is the procedure to find the Histogram coefficients?

1 Ansicht (letzte 30 Tage)
pavan kumar am 6 Aug. 2021
Beantwortet: pavan kumar am 6 Aug. 2021
What is the procedure to find the Histogram coefficients?
##### 0 Kommentare-1 ältere Kommentare anzeigen-1 ältere Kommentare ausblenden

Melden Sie sich an, um zu kommentieren.

### Akzeptierte Antwort

Megan Jurczak am 6 Aug. 2021
Not sure exactly what you mean...You can use hist() if I am understanding the question correctly.
As an example, if you had a matrix A as follows:
A = [ 1 1 1 3 4 5 7];
In order to find the number of times that each unique value appears you would use hist() as follows:
[N,X] = hist(A, unique(A))
N = 3 1 1 1 1
X = 1 3 4 5 7
Where N is what I assume you refered to as the coefficient (# of times each value appears), and X is the value from A associated with that count.
##### 0 Kommentare-1 ältere Kommentare anzeigen-1 ältere Kommentare ausblenden

Melden Sie sich an, um zu kommentieren.

### Weitere Antworten (1)

pavan kumar am 6 Aug. 2021
what variance /meansquare will give ?
##### 0 Kommentare-1 ältere Kommentare anzeigen-1 ältere Kommentare ausblenden

Melden Sie sich an, um zu kommentieren.

### Kategorien

Find more on Multirate Signal Processing in Help Center and File Exchange

### Community Treasure Hunt

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

Start Hunting!