I have a diagonalization problem. I have the eigenstates correctly, and I want to do a Gaussian-smearing (Weierstrass-transform) on them. So I have the wave functions ($\Psi$), and the continuous equation:
$$\zeta(x)=\int \mathrm{d} x' g_{\sigma_x}\left(x-x'\right)\left|\Psi(x')\right|^2,$$
where $g_{\sigma_x}$ is a normal distribution.
I do not know, how to do this with discrete vectors in MATLAB, i.e., $|\Psi|^2, \zeta \in \mathbb{C}^n$.