Magnetic properties of alternating Hubbard ladders