Guilin Sun
Ansys Employee

Yes, obviously.

Lumerical monitor records actually the frequency, not the wavelength by default. So the wavelength is not equi-spaced if you did not specify equi-wavelength. Lumerical script can know it is frequency or wavelengh in plot. However the matlab does not know this. So it assumes the wavelength is equi-spaced. Please either

1: plot in frequency

2: interpolate the result with equi-wavelength spacing before exporting to Matlab, or set to record equi-wavelength in the monitor and redo the sweep. It is better to inteploate the result.