File Exchange

image thumbnail


version 1.1 (180 KB) by Laurent NEVOU
1D Time independent Schroedinger equation solver


Updated 22 Mar 2021

From GitHub

View Version History

View license on GitHub

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.

Cite As

Laurent NEVOU (2021). Q_Schrodinger1D_demo (, GitHub. Retrieved .

Comments and Ratings (3)


very convenient !

MU Wei

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!