Some MATLAB code to analyze a triangular quantum well. tri_qw.m calculates the energy levels and the wave functions for valance or conduction band in 1 dimensional triangular quantum well. The first ...