Can you marginalize a mixture model where the draws from the different components are not independent?

So you want the weights to be exact? Then you can set w=[1/2, 1/2] in the code I have posted above?