The hybrid implicit-explicit finite-difference time-domain (HIE-FDTD) method is a weakly conditionally stable finite-difference time-domain (FDTD) method. The time step size of the HIE-FDTD method is only confined by the two coarse spatial cell sizes, so it is widely used in the simulation of electromagnetic targets with fine structures along one direction. In this work, the basic iterative formulations of the HIE-FDTD method are proposed by approximating the formulations of the FDTD method. In these formulations, the iterative coefficients are marked with spatial grid numbers. Therefore, the coefficients can be calculated automatically according to the medium parameters of the spatial cells by indexing the grid numbers. Since the triangular matrix which is used to calculate the electric field is based on the iterative coefficients, the triangular matrix can also be updated automatically. In addition, a method to reduce the number of tridiagonal matrices is proposed in this work, which can effectively reduce the calculation memory and improve the calculation efficiency. In the proposed HIE-FDTD method, equivalent parameters are employed at the interfaces of different media and the convolution perfectly matched layer boundary condition is used to truncate the computational region. Based on the proposed HIE-FDTD method, a series of programs are implemented, which can simulate arbitrary electromagnetic targets with fine structure in one dimension in linear and non-dispersive space. A dielectric plate irradiated by planar wave and a dual-frequency microstrip inverted F antenna are simulated by using these programs. The numerical results are in good agreement with those from the traditional FDTD method and CST software, and the computational efficiency of the proposed HIE-FDTD method is greatly improved in comparison with that of the traditional FDTD method. This study provides a reliable simulation tool for the wide application of the HIE-FDTD method.