This code solves the time independent Schroedinger equation in 1D with a constant mass.
It uses 4 different algorithms that can be switched ON/OFF:
-> The FDM: Finite Difference Method
-> The Scanning or Shooting method using the Euler approach
-> The PWE: Plane Wave Expansion method that solves the equation in the Fourier space
-> The TMM: The Scanning or Shooting method using the Tranfer Matrix Method
Three different potentials are proposed:
-> The multilayer where the height and thickness of each layer can be adjusted
-> The parabolic
-> The sinus
Any potential can be loaded with homogeneous grid z [m] and V [eV] and be solved with the 3 first methods. For the TM method, a sequence of layer must be provided.
Laurent NEVOU (2021). Q_Schrodinger1D_demo (https://github.com/LaurentNevou/Q_Schrodinger1D_demo), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!