考察例1 4 - 8中的1 4個(gè)點(diǎn)。A中的最近點(diǎn)對(duì)為(b,h),其距離約為0 . 3 1 6。B中最近點(diǎn)對(duì)為
(f, j),其距離為0 . 3,因此= 0 . 3。當(dāng)考察
是否存在第三類點(diǎn)時(shí),除d, g, i, l, m 以外
的點(diǎn)均被淘汰,因?yàn)樗鼈兙喾指罹€x= 1的
距離≥ 。RA ={d, i, m},RB= {g, l},由
于d 和m 的比較區(qū)中沒(méi)有點(diǎn),只需考察i
即可。i 的比較區(qū)中僅含點(diǎn)l。計(jì)算i 和l
的距離,發(fā)現(xiàn)它小于,因此(i, l) 是最近
標(biāo)簽:
上傳時(shí)間:
2013-12-03
上傳用戶:66666
Verilog HDL: Magnitude
For a vector (a,b), the magnitude representation is the following:
A common approach to implementing these arithmetic functions is to use the Coordinate Rotation Digital Computer (CORDIC) algorithm. The CORDIC algorithm calculates the trigonometric functions of sine, cosine, magnitude, and phase using an iterative process. It is made up of a series of micro-rotations of the vector by a set of predetermined constants, which are powers of two. Using binary arithmetic, this algorithm essentially replaces multipliers with shift and add operations. In a Stratix™ device, it is possible to calculate some of these arithmetic functions directly, without having to implement the CORDIC algorithm.
標(biāo)簽:
representation
Magnitude
the
magnitude
上傳時(shí)間:
2013-12-24
上傳用戶:金宜