The matrix eigenvalue method is used to analyze a laser resonator composed of diffraction optical elements. The results show that this type of resonator can separate fundamental mode and high order modes effectively. The output beams can be designed for different requests.