<p>The present invention provides a method of precoding in a multi-antenna system. The method generates precoding codebooks with extension Fourier series, based on the number of transmit antennas in the system and the number of groups of user data streams, so as to obtain a larger range for selection of precoding codebooks, which is helpful to find out which is the most suitable codebook.</p>