|
| Input: when the length of the code string is l | Import numpy as np Import matplotlib.pyplot as plt |
| Output: operation of the string in the genetic |
|
| Step 1: the strings of a string set | Plt.figure(figsize = (8, 4)) |
| Step 2: illustrate the discussion | Plt.subplot(211) |
| Step 3: a pattern is a template | Plt.plot(t[:fft_size], xs) |
| Step 4: describe the schema quantitatively | Plt.xlabel(u“time,” fontproperties = 'fangsong’) |
| Step 5: as the encoding method to | Plt.title(u“500Hz and 50Hz” |
| Step 6: number of determined positions | Y_a = np.array([198,215,245,226,290]) |
| Step 7: that describes a set of strings | Y_b = np.array([203,2349,360,368]) |
| Step 8: the binary string is used | Y_c = np.array([185,26,200,236,269,216,2]) |
| Step 9: similarities in certain positions | Plt.ylabel(uʺ,fontproperties = “fangsong”) |
| Step 10: the mode order of mode H | Plt.subplots_adjust(hspace = 0.4) |
|