Effect of matrix material on laser-induced elemental spectral emission