Optical Linear Absorption of a Two Level System

In this code, differential equation for optical polarization is solved.

You are now following this Submission

The optical polarization of a two level system obeys a differential equation , dp/dt= i/h(wR)p + i/h mu E - gamm P
, where wR is the resonant frequency, E is the electric field and gamm is a dephasing constant. Here E is a Gaussian
enveloped chirp signal while other parameters can be easily changed. The differential equation is solved via 4th order Runge Kutta method to get p(t) and its linear absorption spectra P(omega) is plotted.

Cite As

Sathyanarayan Rao (2026). Optical Linear Absorption of a Two Level System (https://uk.mathworks.com/matlabcentral/fileexchange/53379-optical-linear-absorption-of-a-two-level-system), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0