We use MATLAB to draw the extended image of the gamma function,which provides an intui-tive understanding of the function,and use the construction method as well as Laplace transform and conv-olutional to establish the relationship between the gamma function and the beta function.