This repository contains a MATLAB implementation of an algorithm to reconstruct the potential and Robin boundary conditions from the spectral data of a 1d Schrödinger equation on the interval [0,π], recently developed in this article. The input data are assumed to consist of the first N eigenvalues and norming constants of the problem (where by definition n'th the norming constant is the squared L2 norm of the eigenfunction yn normalized such that yn(0)=1). The algorithm works by computing the primitive u of the potential from the solution c of a matrix equation (Id-A)c = b. Contents:
compute_u.mmain function that returns the primitive of the potential from the eigenvalues and norming constants,build_A.mcomputes the matrix A appearing in the equation (Id-A)c = b from the eigenvalues and norming constants,build_b.mcomputes the right-hand side b appearing in the equation (Id-A)c = b from the eigenvalues and norming constants,I.mreturns the (symbolically computed) integral of cos(at)cos(bt) from t=0 to x,inverse_main.mexample script that reconstructs the potential and boundary conditions from data provided in a .mat file.
Any comments or queries are welcome at https://frank-roesler.github.io/contact/