CRC16算法的Java實現,使用方法如下: CRC16 crc16 = new CRC16() byte[] b = new byte[] { // (byte) 0xF0,(byte)0xF0,(byte)0xF0,(byte)0x72 (byte) 0x2C, (byte) 0x00, (byte) 0xFF, (byte) 0xFE, (byte) 0xFE, (byte) 0x04, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 } for (int k = 0 k < b.length k++) { crc16.update(b[k]) } System.out.println(Integer.toHexString(crc16.getValue())) System.out.println(Integer.toHexString(b.length))
上傳時間: 2014-12-20
上傳用戶:ve3344
Integration的EZMac Lite,對于開發IA4420/4421很有用! Fixed packet length protocol MAC layer for simplifying EZRadio designs.
標簽: Integration EZMac Lite
上傳時間: 2014-01-27
上傳用戶:曹云鵬
Integration的EZMac Plus,對于開發IA4420/4421很有用! Variable packet length protocol with packet forwarding capability MAC layer for simplifying EZRadio designs
標簽: Integration EZMac Plus
上傳時間: 2016-05-12
上傳用戶:alan-ee
I ve written some many years ago dynamic Huffman algorithm to compress and decompress data. It is mainly targeted to data with some symbols occuring more often than the rest (e.g. having some data file consisted of 3 different symbols and their total number of occurence in that file s1(1000), s2(200), s3(30) so the total length of file is 1000+200+30=1230 bytes, it will be encoded assigning one bit to s1 and 2 bits to s2, s3 so the encoded length will be 1*1000+2*(200+30)=1460 bits=182 bytes). In the best case the file consisted of just one symbol will be encoded with compression ratio as 1:8. Huffman coding is used in image compression, however in JPEG2000 arithmetic codec is imployed.
標簽: decompress algorithm compress Huffman
上傳時間: 2016-05-16
上傳用戶:aysyzxzm
This file contains a C++Builder 4 project called SimplyChaos-X ver 3.1 (SCX31). SCX31 is an encryption tool. I designed it as my graduation paper work. SCX31 is a symmetric stream cipher built on chaos function, one time pad cipher and inspiration from Ground Effect (aviation). The key length can be up to 40 characters (320 bits).
標簽: SimplyChaos-X SCX contains Builder
上傳時間: 2016-06-07
上傳用戶:nanshan
JLAB is a set of Matlab functions I have written or co-written over the past fifteen years for the purpose of analyzing data. It consists of four hundred m-files spanning thirty thousand lines of code. JLAB includes functions ranging in complexity from one-line aliases to high-level algorithms for certain specialized tasks. These have been collected together and made publicly available for you to use, modify, and --- subject to certain very reasonable constraints --- to redistribute. Some of the highlights are: a suite of functions for the rapid manipulation of multi-component, potentially multi-dimensional datasets a systematic way of dealing with datasets having components of non-uniform length tools for fine-tuning figures using compact, straightforward statements and specialized functions for spectral and time / frequency analysis, including advanced wavelet algorithms developed by myself and collaborators.
標簽: co-written functions the fifteen
上傳時間: 2014-01-26
上傳用戶:hjshhyy
%radon transform clear all % N=800 n=1:N fs=200 t=n/fs x1=exp(j*2*pi*(5*t+0.5*5*t.^2)) x2=exp(j*2*pi*(5*t+0.5*15*t.^2)) x=x1+x2 %N=length(x) % ambifunb(x ) %*****************************************RAT naf=ambifunb(x) htl(abs(naf)) % [wh,rho,theta]=htl(abs(naf)) colormap([0,0,0]) % xlabel( 極半徑 ) % ylabel( 角度 ) %**************************************%找出峰值點的坐標,計算初始頻率和調頻斜率(正確) %找出峰值點的坐標 b=max(max(wh)) [u,a]=find(wh>=0.8*b)
上傳時間: 2014-10-27
上傳用戶:Yukiseop
本論文主要介紹了JPEG的編碼和解碼過程。該程序的編碼部分能把一張BMP格式的圖象進行JEPG編碼,壓縮成以二進制形式保存的文件;通過相應的解碼程序又可以把圖象解壓縮出來。在圖象傳送過程中,我們經常采用JPEG格式對靜態圖象進行編碼。JPEG基本系統是一種有損編碼,無法完全恢復出原圖象,信息有一定的丟失,稱為有損壓縮。盡管我們希望能夠無損壓縮,但是通常有損壓縮的壓縮比(即原圖象占的字節數與壓縮后圖象占的字節數之比,壓縮比越大,說明壓縮效率越高)比無損壓縮的高。JPEG編碼先把圖象色彩RBG變成亮度Y和色度Cr、Cb,它利用人的視覺對色度不敏感的特點,減少一部分色度數據,以達到壓縮。 JPEG采取多種編碼方式,包含有行程編碼(Run Length Coding)和哈夫曼(Huffman)編碼,有很高的壓縮比。在編碼前,先對數據進行分塊,離散余弦變換(DCT)及量化,保留能量大的低頻信號,丟棄高頻信號以達到壓縮。解碼時,進行熵解碼,反量化,反離散余弦變換(IDCT)。
上傳時間: 2013-12-21
上傳用戶:coeus
在無符號數的字節數組中,計算大于、等于、小于search的元素個數,分別存放在字節單元up、equal、down中。 程序顯示up、equal、down的值
上傳時間: 2016-06-18
上傳用戶:2525775
AutomaticPropertiesDefaultValues Article_src.zip PropertyInfo[] props = o.GetType().GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static) for (int i = 0 i < props.Length i++) { PropertyInfo prop = props[i] if (prop.GetCustomAttributes(true).Length > 0) { object[] defaultValueAttribute = prop.GetCustomAttributes(typeof(DefaultValueAttribute), true) if (defaultValueAttribute != null) { DefaultValueAttribute dva = defaultValueAttribute[0] as DefaultValueAttribute if(dva != null) prop.SetValue(o, dva.Value, null) }
標簽: AutomaticPropertiesDefaultValues PropertyInfo Article_src GetPropert
上傳時間: 2014-11-22
上傳用戶:xaijhqx