A method of calculating the degree of freedom of foldable plate rigid origami with adjacency matrix