I have two columns of numbers. Column A has numbers from 0-10 and Column B has numbers from 0-18. I need to count the numbers from column A in different ranges like 0-1, 1-2, 2-3 and so on with respect to column B.

4 Comments

Can you show how your desired output should look like?
number of times <=0.5m occuring in different ranges of x vales like <=4s, 4-5 s. Suppose there are 4 values of 0.4 m occuring in 3 s and 10 times in 4-5 s , them it should show 4 and 10 in those ranges
Can you show some example data? I'm not sure I fully understand what you mean.
The Y axis is height and x axis is time. I have two columns of data which is height and time. I need to find how many times the values (as shown in the pic) are in that particular range from the column data.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!