what mean ,hist word in matlab ?
1 view (last 30 days)
Show older comments
what mean ,hist word in matlab ?
0 Comments
Accepted Answer
Wayne King
on 2 Mar 2013
Edited: Wayne King
on 2 Mar 2013
It a frequency histogram
X = randn(1000,1);
hist(X)
It "bins" the input data and returns the number of data values that value in each bin.
You can get the actual counts and bin center with the optional output arguments:
[counts,centers] = hist(X);
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!