Modeling and Design Photonics by Examples Using MATLAB®