function index = c2i(N, carriers) index = mod(carriers, N) + 1;