matlab code about holography