Abstract: | Under investigation in this paper is a generalized inhomogeneous variable- coefficient Hirota equation. Through the Hirota bilinear method and symbolic computation, the bilinear form and analytic one-, two- and N-soliton solutions for such an equation are obtained, respectively. Properties of those solitons in the inhomogeneous media are discussed analytically. We get the soliton with the property that the larger the amplitude is, the narrower and slower the pulse is. Dynamics of that soliton can be regarded as a repulsion of the soliton by the external potential barrier. During the interaction of two solitons, we observe that the larger the value of the coefficient β in the equation is, the larger the distance of the two solitons is. |