Radial sliding bearings are widely used in ship shafting, its characteristics of lubricating oil film have important influence on the normal operation of the whole shaft system. In this work, the difference equations which is used to calculate the radial sliding bearing oil film features is transformed into matrix equations, the solving process be converted into solving matrix equation, combined with the powerful matrix calculation function of MATLAB, the solution process is simplified. It is not necessary to set the error precision and relaxation factor, so as to avoid the problem that the calculation result is not stable or even not convergent in the process of Successive Over Relaxation(SOR) method, and the calculation precision and stability are improved. The numerical results of matrix calculation method is compared with the result of SOR method, verified the correctness and feasibility of the matrix calculation method. Because the calculation is relatively stable, the matrix calculation method is more suitable for the calculation core of the relative computing software.