Counting number of elements in an interval across a range?
16 views (last 30 days)
Hello, I need to make a skewness plot using data from a large column of numbers. The project lead wants to find the number of terms within an interval of 200 x data points. I am looking for a code that will tell me the number of terms in each interval 200 times until the end of the x values. In short I need 200 terms each with the # of elements in that interval. I appreciate any advice on this topic!
Roger Stafford on 28 May 2016
This is precisely what Matlab’s ‘histc’ (or ‘histcounts’) function is designed to do. Read about it at the site:
Star Strider on 28 May 2016
I have no idea what question you’re actually asking.
Three functions come to mind that could work: sort, prctile, and reshape.
Please clarify what it is you want from your data.