摘要:This paper investigates a computational method to find an approximation to the solution of fractional differential equations subject to local and nonlocal m-point boundary conditions. The method that we will employ is a variant of the spectral method which is based on the normalized Bernstein polynomials and its operational matrices. Operational matrices that we will developed in this paper have the ability to convert fractional differential equations together with its nonlocal boundary conditions to a system of easily solvable algebraic equations. Some test problems are presented to illustrate the efficiency, accuracy, and applicability of the proposed method.