Introduction - If you have any usage issues, please Google them yourself
Calculated transmission characteristics and reflection characteristics of the one-dimensional photonic crystals, PLS PLS toolbox, Code, there are very complete notes and explanation.