File Exchange

image thumbnail


version 1.0.0 (584 KB) by Laurent NEVOU
Optical Tranfer Matrix Solver with index dispersion


Updated 05 Apr 2021

From GitHub

View license on GitHub

This program is computing the reflection, transmission and absorption of a multi layer structure using the Transfer Matrix Method (TMM). The dispersion of the refractive index is taken into account. A small database of various material is provided. The code allows to get the field distribution inside the structure.

Four structures are proposed:
-> Bragg mirror
-> Fabry-Perot cavity
-> VCSEL structure
-> Polariton structure
=> If you like it, don't forget the star!

Cite As

Laurent NEVOU (2021). Light_WaveTransmission1D_dispersion (, GitHub. Retrieved .

Comments and Ratings (13)

Alessio Lerede

Hi, i would like to insert the data of Silicon material, but it doesn't fit with my plot, how can I resolve this?

Laurent NEVOU

Sorry for the mistake...
The boundary condition are defined at the beginning of the input file, nL and nR for the optical index on the left and on the right side of the multi-layer

Laurent NEVOU

Yes, it does! The air is the boundary conditions default layer on the left and on the right side of the structure. It is set in the TMM_f.m file
The "air" layer is set with an optical index layer =1 all over the spectrum

Bernard Liu

Does this take the refractive index of air into account?

Bernard Liu

Mehmet AY

俊豪 万

Laurent NEVOU

@Nam Gyun Kim
Well, you have to look by your own like on internet, in books or measured data!
For example, here are some data:

Nam Gyun Kim

Where to find the index of refraction for substances not in the attachment???

Nam Gyun Kim

This code is very helpful and easy to understand!!!

P.K. Sahu

john zhang

Thanks a lot!

Le Zhao

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!