mlsanityData to 14 Oct 2026

Compact 200 line MATLAB code for inverse design in photonics by topology optimization: tutorial

arXiv 2009.14276 ↗First posted 23 Aug 2020cs.MS cs.CE physics.opticscited by 1

Not on the map. Why?

Abstract (arXiv)

We provide a compact 200 line MATLAB code demonstrating how topology optimization (TopOpt) as an inverse design tool may be used in photonics, targeting the design of two-dimensional dielectric metalenses and a metallic reflector as examples. The physics model is solved using the finite element method, and the code utilizes MATLAB's fmincon algorithm to solve the optimization problem. In addition to presenting the code itself, we briefly discuss a number of extensions and provide the code required to implement some of these. Finally, we demonstrate the superiority of using a gradient-based method compared to a genetic-algorithm-based method (using MATLAB's ga algorithm) for solving inverse design problems in photonics. The MATLAB software is freely available in the paper and may be downloaded from https://www.topopt.mek.dtu.dk.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 23 Aug 2020.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2021: 1.

1 paper.