lat_inrange_1 = latitude >= 15 & latitude < 20; %watch the edge conditions!
lat_inrange_2 = latitude >= 25 & latitude < 45; %watch the edge conditions!
lat_inrange = lat_inrange_1 | lat_inrange_2;
N2O_subset = N2O(:,lat_inrange);
Now you can histogram on N2O_subset. Assuming I correctly interpreted [15:5:20], [25:5:45] as meaning latitudes in the range 15 to 20 or 25 to 45.