# Encoding Information in the Frequency Domain

To emphasize the fact that every periodic signal has both a time and frequency domain representation, we can exploit both to encode information into a signal. Refer to the Fundamental Model of Communication. We have an information source, and want to construct a transmitter that produces a signal

. For the source, let's assume we have information to encode every

seconds. For example, we want to represent typed letters produced by an extremely good typist (a key is struck every

seconds). Let's consider the complex Fourier series formula in the light of trying to encode information.

We use a finite sum here merely for simplicity (fewer parameters to determine). An important aspect of the spectrum is that each frequency component

can be manipulated separately: Instead of finding the Fourier spectrum from a time-domain specification, let's construct it in the frequency domain by selecting the

according to some rule that relates coefficient values to the alphabet. In defining this rule, we want to always create a real-valued signal

. Because of the Fourier spectrum's properties, the spectrum must have conjugate symmetry. This requirement means that we can only assign positive-indexed coefficients (positive frequencies), with negative-indexed ones equaling the complex conjugate of the corresponding positive-indexed ones.

.

Assume we have letters

to encode:

. One simple encoding rule could be to make a single Fourier coefficient be non-zero and all others zero for each letter. For example, if

occurs, we make

and

,

. In this way, the

harmonic of the frequency

is used to represent a letter. Note that the bandwidth—the range of frequencies required for the encoding—equals

. Another possibility is to consider the binary representation of the letter's index. For example, if the letter

occurs, converting

to its base 2 representation, we have

. We can use the pattern of zeros and ones to represent directly which Fourier coefficients we "turn on" (set equal to one) and which we "turn off."

### Exercise

Compare the bandwidth required for the direct encoding scheme (one nonzero Fourier coefficient for each letter) to the binary number scheme. Compare the bandwidths for a 128-letter alphabet. Since both schemes represent information without loss -- we can determine the typed letter uniquely from the signal's spectrum -- both are viable. Which makes more efficient use of bandwidth and thus might be preferred?

signals directly encoded require a bandwidth of

. Using a binary representation, we need

. For

, the binary-encoding scheme has a factor of

smaller bandwidth. Clearly, binary encoding is superior.

### Exercise

Can you think of an information-encoding scheme that makes even more efficient use of the spectrum? In particular, can we use only one Fourier coefficient to represent

letters uniquely?

We can use

different amplitude values at only one frequency to represent the various letters.

We can create an encoding scheme in the frequency domain to represent an alphabet of letters. But, as this information-encoding scheme stands, we can represent one letter for all time. However, we note that the Fourier coefficients depend only on the signal's characteristics over a single period. We could change the signal's spectrum every

as each letter is typed. In this way, we turn spectral coefficients on and off as letters are typed, thereby encoding the entire typed document. For the receiver (see the Fundamental Model of Communication) to retrieve the typed letter, it would simply use the Fourier formula for the complex Fourier spectrum for each

-second interval to determine what each typed letter was. Figure shows such a signal in the time-domain.

#### Encoding Signals Figure 1. The encoding of signals via the Fourier spectrum is shown over three "periods." In this example, only the third and fourth harmonics are used, as shown by the spectral magnitudes corresponding to each T-second interval plotted below the waveforms. Can you determine the phase of the harmonics from the waveform?

In this Fourier-series encoding scheme, we have used the fact that spectral coefficients can be independently specified and that they can be uniquely recovered from the time-domain signal over one "period." Do note that the signal representing the entire document is no longer periodic. By understanding the Fourier series' properties (in particular that coefficients are determined only over a

-second interval, we can construct a communications system. This approach represents a simplification of how modern modems represent text that they transmit over telephone lines. Swipe left and right to change pages.
{"ft_lang_label":"__label__en","ft_lang_prob":0.86313695,"math_prob":0.90635276,"size":4495,"snap":"2019-43-2019-47","text_gpt3_token_len":886,"char_repetition_ratio":0.14272991,"word_repetition_ratio":0.0,"special_character_ratio":0.19110122,"punctuation_ratio":0.09898477,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9928366,"pos_list":[0,1,2,3,4,5,6,7,8,9,10],"im_url_duplicate_count":[null,null,null,5,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-11-21T02:42:23Z\",\"WARC-Record-ID\":\"<urn:uuid:03029dbc-1856-4d41-8ca1-f6ce0f56e659>\",\"Content-Length\":\"219953\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:7be5b4fe-ae48-4f69-a720-df3e8b00c607>\",\"WARC-Concurrent-To\":\"<urn:uuid:7157a8c9-f30e-496d-b1b8-332cf9451974>\",\"WARC-IP-Address\":\"54.70.27.247\",\"WARC-Target-URI\":\"https://www.circuitbread.com/textbooks/fundamentals-of-electrical-engineering-i/frequency-domain/encoding-information-in-the-frequency-domain\",\"WARC-Payload-Digest\":\"sha1:TPAJTFHDKNKG22WLATVBAYMVNJZ2TQ7F\",\"WARC-Block-Digest\":\"sha1:BF4E6SBJGBVQO3WTPS6PRSAFMHBJNTO7\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-47/CC-MAIN-2019-47_segments_1573496670729.90_warc_CC-MAIN-20191121023525-20191121051525-00386.warc.gz\"}"}