Skip to Main Content
The generalized moment balancing templates for spectral null codes are investigated in this paper. A new approach based on the insertion of a determined number of vectors at determinate indices of a spectral null code word, is found to balance the moment of the code word. Moment balanced code words preserve the spectral null properties and can guarantee the correction of one insertion or one deletion error. As compared to the universal template for an uncoded sequence, the redundancy is determined by the structure of the original spectral null code, however, it can be kept small. The new approach involves the applications of the optimized moment balancing template and nonbinary enumeration of the balancing moment values.