Patent ID: 8811467

Claim:
A method for generating a code using an electronic device, comprising: said electronic device defining a finite sequence of code values, for each code value in said finite sequence of code values, defining a validity period specific to that code value, and at least one modulation feature such as at least one of a code-value-specific phase value, a code-value-specific amplitude value, and a code-value-specific frequency value, selecting different validity periods for different code values in said finite sequence of code values, selecting for code values in said finite sequence of code values only validity periods that are longer than or equal to a predetermined minimum baud length, and presenting said finite sequence of code values as an output of the electronic device, generating multiple finite sequences of said code values, which differ from each other in at least one of: code value or values included in the sequence, validity period or periods selected for one or more code values, for each generated finite sequence, calculating a corresponding covariance matrix, comparing said covariance matrices in order to find the most optimal covariance matrix among them, and outputting the finite sequence for use as a code that corresponds to the found most optimal covariance matrix as the optimal code among said generated finite sequences.