選擇映射法(SLM)和概率類算法都可以降低OFDM (Orthogonal Frequency Division Multiplexing)系統的PAPR(Peak to Average Power Ratio),傳統SLM算法自身較為復雜,但由于其優良的性能,棄之可惜。研究表明,SLM算法和限幅類算法在性能上具有一定的互補性。任何一個算法未必能達到抑制PAPR的理想效果,在深入研究了兩個算法的基礎上,將其優點聯合起來,以達到降低OFDM系統PAPR的目的。最后對聯合改進算法進行了分析與仿真,并驗證了聯合改進算法的有效性和可行性
OFDM是無人機高速遙測信道中的主要傳輸技術之一,但是OFDM系統的主要缺陷之一是具有較高的峰均比。文中研究了一種信道糾錯編碼與迭代限幅濾波算法(Repeated Clipping and Filtering,RCF)相結合的峰均比抑制方案。仿真結果表明,RCF算法能夠實現峰均比的有效抑制,卷積編碼和Turbo編碼能夠有效抑制RCF算法產生的限幅噪聲,降低系統誤碼率。
RSA算法 :首先, 找出三個數, p, q, r, 其中 p, q 是兩個相異的質數, r 是與 (p-1)(q-1) 互質的數...... p, q, r 這三個數便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 這個 m 一定存在, 因為 r 與 (p-1)(q-1) 互質, 用輾轉相除法就可以得到了..... 再來, 計算 n = pq....... m, n 這兩個數便是 public_key ,編碼過程是, 若資料為 a, 將其看成是一個大整數, 假設 a < n.... 如果 a >= n 的話, 就將 a 表成 s 進位 (s
數字運算,判斷一個數是否接近素數
A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value.
Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not.
Input
Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone.
Output
For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise.
Sample Input
10 111
2 110
10 123
6 1000
8 2314
0
Sample Output
yes
yes
no
yes
no