- #1
roam
- 1,271
- 12
Homework Statement
Here is a plot of Reflectance vs Wavelength from a multilayer thin film stack of alternating high and low refractive indices:
I want plot this in Matlab, but what equation was used for this plot?
The diagram is from my textbook, there are many like it online but there is no indication as to what equation was used for the plot.
Homework Equations
Reflectance from and N layers of film:
##\left( \frac{(n_0/n_s)(n_L/n_H)^{2N} -1}{(n_0/n_s)(n_L/n_H)^{2N} +1} \right)^2##
Spectral width of the high reflectance zone:
##\Delta \lambda = \frac{4}{\pi} \lambda_0 sin^{-1} \left( \frac{n_H-n_L}{n_H+n_L} \right)##
The Attempt at a Solution
Well the first equation is not a function of wavelength. So I tried using the second one, with setting ##\lambda_0=514 \ nm## as the center wavelength:
Code:
n0=1; ns=1.52; nh=2.35; nl=1.38;
l=[300e-9 : 1 : 900e-9];
dl=((4/pi)*l.*asin((nh-nl)/(nh+nl)));
plot(l,dl);
However Matlab does not return any plots (it's blank). I also think this is not the correct equation since it is independent of the number of layers (N). I need an equation that takes both width and height of the curve into account...
What equation do I need to use here?