Source: https://www.me.psu.edu/chang/me370/eigen_matlab.pdf