frequency of a range of data from a matrix
4 views (last 30 days)
Show older comments
Say my matrix is following:
0, 1.2;
2, 2.4;
6, 1.7;
8, 1.9;
5, 2.8;
10, 3.1;
4, 5.2;
12, 5.5;
3, 4.2;
15, 4.4;
I want to get the frequency of a range of dataset. Like for range of 0-3 for the first column and for the range of 1-2 for the 2nd column i will get the result as 1.
3 Comments
dpb
on 15 Oct 2018
Why isn't result for range [1-2] --> 3 for column 2? (1.2,1.7,1.9 all >=1 and <=2)?
Answers (1)
See Also
Categories
Find more on Data Distribution Plots 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!