MATLAB Codes:

In this page you can find some free and open access sets of MATLAB codes.

LPEM

A powerful set of functions and codes for analysis of diffraction gratings and two dimensional photonic crystals based on Legendre polynomial expansion method

(LPEM). Please see this paper for more details about this method.

Download

ASR-FMM

Fourier Modal Method combined with Adaptive Spatial Resolution technique for fast and stable analysis of Lamellar gratings. Please see this paper for more details about this method.

Download

Direct and Side Coupled PhCs

For more information refer to this article was later published.

Download

FMM for graphene

This package includes MATLAB codes for fast convergent Fourier modal method for periodic arrays of graphene ribbons and also 2D arrays.�

For more information please refer to the articles: A. Khavasi, "Fast convergent Fourier modal method for the analysis of periodic arrays of graphene ribbons," J. Opt. 14, 125502 (2012), and S. A. H. Nekuee, A. Khavasi, and M. Akbari. "Fourier modal method formulation for fast analysis of two-dimensional periodic arrays of graphene." JOSA B 31, 987-993(2014).

1D Codes Download 2D Codes Download
my favorite website: wikicando
Sharif University of Technology