RSA算法 :首先, 找出三個(gè)數(shù), p, q, r, 其中 p, q 是兩個(gè)相異的質(zhì)數(shù), r 是與 (p-1)(q-1) 互質(zhì)的數(shù)...... p, q, r 這三個(gè)數(shù)便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 這個(gè) m 一定存在, 因?yàn)?r 與 (p-1)(q-1) 互質(zhì), 用輾轉(zhuǎn)相除法就可以得到了..... 再來, 計(jì)算 n = pq....... m, n 這兩個(gè)數(shù)便是 public_key ,編碼過程是, 若資料為 a, 將其看成是一個(gè)大整數(shù), 假設(shè) a < n.... 如果 a >= n 的話, 就將 a 表成 s 進(jìn)位 (s
This example program shows how to configure and use the A/D Converter of the following microcontroller:
STMicroelectronics ST10F166
After configuring the A/D, the program reads the A/D result and outputs the converted value using the serial port.
To run this program...
Build the project (Project Menu, Build Target)
Start the debugger (Debug Menu, Start/Stop Debug Session)
View the Serial Window (View Menu, Serial Window #1)
View the A/D converter peripheral (Peripheral Menu, A/D Converter)
Run the program (Debug Menu, Go)
A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D input and output change.
Other buttons create signals that generate sine wave or sawtooth patterns as analog inputs. µ Vision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals graphically.
這是CISS會(huì)議上發(fā)表的著名論文“Tensor Canonical decomposition based method for blind identification of MIMO system with 3-input 2-output case”的源程序,主要是講基于張量規(guī)范分解的多天線系統(tǒng)的忙識(shí)別問題,里邊包含了相應(yīng)的文章,可以一起對(duì)照著看。
This simulation script set allows for an OFDM transmission to be
simulated. Imagetx.m generates the OFDM signal, saving it as a
windows WAV file. This allows the OFDM signal to be played out a sound
card and recorded back. Imagerx.m decodes the WAV to extract the
data.
settings.m contains all the common settings to specify all the
simulation parameters such as FFT size, number of carriers,
input data source file, input and output WAV files, etc.