MATLAB: Using greater than and less than

andfindgreater thangreater than or equal toless than

I am trying to isolate a subset of data from a large set.
I want to find all the points that are less than or equal to (a) AND are greater than for equal to (b)
I have the following:
[a,b] = find (lat(:,:) >= 44 & <= 55)
Previously I used
[a,b] find (lat(:,:) >= 44)
which worked perfectly. Now I receive "the unexpected matlab operator" error which it reaches the <
thanks for help,

Best Answer

find (lat >= 44 & lat <= 55)