Modify RTACalc for increasing the number of layer

2 次查看(过去 30 天)
I am using the script RTA calc for modelling multilayer behavior.
The script has been designed for 2 layers, but I would like to raise it to 3.
%%%
layers = {'fused silica' 'Pt' 'SiO2' 'Ag' 'air'};
film1thicknesses = [500]; % nm Pt
film2thicknesses = [1]; % nm SiO2
film3thicknesses = [30]; % nm Ag
%%%%
bilayerDispersionStudy(lam0, lam1, dlam, date, suffix, layers, film1thicknesses, film2thicknesses, film3thicknesses, angle, polarization, single, control);
clearvars date suffix lam0 lam1 dlam layers film1thicknesses film2thicknesses polarization control single;
However, the matrix that has been originally set is for two layers, so I get a series of mistakes

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Computational Geometry 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by