Analysis of the influence of the Doppler frequency shift on the effectiveness of Barker code compression is carried out. The mismatched sidelobe-free filter was considered as a signal compression filter. An ambiguity function of the mismatched filter was constructed, comparative analysis of ambiguity functions of the mismatched filter and a conventional matched filter was performed.