A method of generating a correlation function for a CBOC(6,1,1/11) signal includes generating a first correlation function by performing a first elimination operation on a first and twelfth partial correlation function pair of 12 partial correlation functions, generating a fourth correlation function by performing a first elimination operation between second and third correlation functions that are generated by performing a second elimination operation between two difference functions between sixth and seventh partial correlation functions and the first correlation function, and generating a main correlation function by summing resulting waveforms that are generated by performing a first elimination operation between each of the 12 partial correlation functions and the fourth correlation function or by performing a first elimination operation between each of the remaining 8 partial correlation functions, excluding first, sixth, seventh and twelfth partial correlation functions from the 12 partial correlation functions, and the fourth correlation function.