Wigner coefficients play an important role in many of the advanced calculations of nuclear and particles physics. In this study we have written code by using the MATLAB 2013a software for calculating the 3j, 6j and 9j coefficients. The programs apply to both integer and half-integer angular momentum quantum numbers. The outputs of this code are completely in agreement with the presented data in the references. The calculation time of codes in a Core2Duo system with a CPU T9550@2.66GHz are a few second. This code is very practical in the training and researching of nuclear, particle and quantum physics for all academic levels.