Expanding a little on Walter's comment...
Lat = [49, 50, 51, 52].';
Lon = [-99, -100, -101, -102].';
T = table(Lat,Lon);
Lat Lon Station
___ ____ _________
49 -99 Station A
50 -100 Station B
51 -101 Station C
52 -102 Station D
NB: If don't have integer latitude invtervals; hist still will bin on the midpoints of the bins given...just use mod() to cast the bin number to the beginning of the array based on initial value...
NB2: I have a "syntactic sugar" utility routine I use when there is need for the test such as have written above
>> type iswithin
flg= (x>=lo) & (x<=hi);
that's the version that is inclusive; there's another that passes a flag for which bound is/is not you'd want here. Just makes the higher-level code a little more succinct to be able to just return the logical vector as return from the function call...particularly if have multiple conditions.
NB3: Your bounds are exclusive on both ends so the x.5 values aren't included anywhere.