On Thu, 2009-03-26 at 11:57 +0100, Johannes Berg wrote: > 4) This is easier to formulate algorithmically: > USE_FLAGS = 0 > for k = 1 .. n > if CENTER in (MIN_k, MAX_k]: > USE_FLAGS |= FLAGS_k That wasn't what I intended... What I did intend to say is this: USE_FLAGS = 0 for k = 1 .. n if (CENTER - BW/2, CENTER + BW/2) intersects (MIN_k, MAX_k] USE_FLAGS |= FLAGS_k since we want to take into account all flags even if the channel just overlaps a little with a specific range. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part