March 4, 2019 This subdirectory contains the following Matlab source codes for completely positive matrix factorization: runcode_random.m runcode_random_instance_random_initpoints.m Run codes for Tables 1, 2 and 3 of the paper, respectively runcode_lambda.m NPG.m Implementation of SpFeas_DC_ls AP.m Implementation of the modified alternating projection algorithm expand.m generate.m Subroutines of the runcodes for problem generation Implementation and numerical experience with the above codes are described in the paper: Chen Chen, Ting Kei Pong, Lulin Tan and Liaoyuan Zeng "A difference-of-convex approach for split feasibility with applications to matrix factorizations and outlier detection", Submitted. These codes were last updated on Oct 29, 2019. Questions/comments/suggestions about the codes are welcome. Ting Kei Pong, tk.pong@polyu.edu.hk