how to make a frequency function in matlab like the excel frequency function?

Posted by Ben Fossen on Stack Overflow See other posts from Stack Overflow or by Ben Fossen
Published on 2010-05-19T21:09:03Z Indexed on 2010/05/19 21:10 UTC
Read the original article Hit count: 201

Filed under:
|
|
|

I have a list that is sorted and I want to know how many values are in each bin? I made bins using linspace(floor(fist_element_list), ceil(last_element_list), num_bins) Is there a built in function or an easy way to do this in Matlab? All I can think of is doing it manually. I would like a frequency function like the one in excel.

© Stack Overflow or respective owner

Related posts about frequency

Related posts about bins