Derivation of weighting coefficients for multiplexed phase-diffractive elements