Introduction This is the MATLAB code for "Joint Community Detection and Rotational Synchronization via Semidefinite Programming" by Yifeng Fan, Yuehaw Khoo, and Zhizhen Zhao. Requirement The CVX package (http://cvxr.com/cvx/) with a license of MOSEK.