Unzip all files in one folder, and run the "RUNME" file in Matlab to get started... Detailed information about this code is provided in "3D computer-generated holography by non-convex optimization", J Zhang, N Pégard, J Zhong, H Adesnik, L Waller. Optica 4 (10), 1306-1313 Paper link : https://www.osapublishing.org/optica/abstract.cfm?uri=optica-4-10-1306 Please Include the following citation whenever apropriate. @article{NOVOCGH, title={3D computer-generated holography by non-convex optimization}, author={Zhang, Jingzhao and P{\'e}gard, Nicolas and Zhong, Jingshan and Adesnik, Hillel and Waller, Laura}, journal={Optica}, volume={4}, number={10}, pages={1306--1313}, year={2017}, publisher={Optical Society of America} } Do not hesitate to contact the authors if you notice any bugs !