%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
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
序列對齊 Compare a protein sequence to a protein sequence database or a DNA sequence to a DNA sequence database using the Smith-Waterman algorithm.[.wat815.] \fCssearch3\fP is about 10-times slower than FASTA3, but is more sensitive for full-Length protein sequence comparison.
標簽: sequence protein DNA database
上傳時間: 2016-08-01
上傳用戶:wangchong
This programme is to control DC motor in a certain speed using PWM. The target speed is "r", it is the speed in 1s. The sample rate is 0.1s, so the actual speed target is "rc"=r/10. The "r" and "rc" are integer, and the range of "r" is from 50 to 100. Keep rc=r/10!!! The array "speed1" and "speed2" are the control result, in 0.1s and 1s. The Length of "speed1" is 2400, and "speed2" is 240. The "pw" and "nw" are the parameters of PWM. The test will last 4 min.
標簽: speed programme is control
上傳時間: 2014-11-22
上傳用戶:jyycc
實現8比特字節的RS糾錯編碼,可以指定極性校驗字節數目,能產生的最大校驗序列長度為255字節(含極性校驗字節).This is an implementation of a Reed-Solomon code with 8 bit bytes, and a configurable number of parity bytes. The maximum sequence Length (codeword) that can be generated is 255 bytes, including parity bytes.
上傳時間: 2016-08-24
上傳用戶:思琦琦
void InitGoertzel(void) 作用:初始化算法參數 用法:采用算法進行檢測前執行一次,如果需要改變參數,調用SetParameter() float CGoertzel::GetMagnitude(unsigned char * sampleData, int Length) //算法主接口 作用:對采集下來的音頻數據用算法處理,返回一個結果 參數:sampleData-音頻數據緩沖地址指針; Length-緩沖區尺寸(音頻數據數量),字節數; 返回值:返回算法結果。 void SetParameter(DWORD set_SampleRate, DWORD set_TargetFreq, DWORD set_BlockSize) 作用:設置算法參數; 參數:set_SampleRate-音頻數據抽樣速率; set_TargetFreq-目標信號頻率; set_BlockSize-算法數據塊尺寸(采樣點); 用法:調用本函數后,需要調用一次InitGoertzel(void)才會生效
標簽: void InitGoertzel 算法 初始化
上傳時間: 2016-09-20
上傳用戶:sssl
Problem B:Longest Ordered Subsequence A numeric sequence of ai is ordered if a1 < a2 < ... < aN. Let the subsequence of the given numeric sequence (a1, a2, ..., aN) be any sequence (ai1, ai2, ..., aiK), where 1 <= i1 < i2 < ... < iK <= N. For example, sequence (1, 7, 3, 5, 9, 4, 8) has ordered subsequences, e. g., (1, 7), (3, 4, 8) and many others. All longest ordered subsequences are of Length 4, e. g., (1, 3, 5, 8).
標簽: Subsequence sequence Problem Longest
上傳時間: 2016-12-08
上傳用戶:busterman
This package provides encoders and fast Viterbi decoders for the NASA standard rate 1/2 and rate 1/3 constraint Length 7 convolutional codes.
標簽: rate and encoders decoders
上傳時間: 2013-12-18
上傳用戶:彭玖華
//順序表的建立、查找、插入與刪除 #include <stdio.h> #include <malloc.h> #include <stdlib.h> #define ListSize 100 //表最大長度 //結構定義 typedef struct SeqList { int node[ListSize] //存放表結點 int Length //當前表長度 } SeqList //插入元素 insertList(SeqList *list, int e) { int i=list->Length-1 //先將i指定為最后一項 if(i>=ListSize-1) //表已經達到最大長度ListSize { printf("表已滿,不能增加新的項!\n")
上傳時間: 2014-01-17
上傳用戶:dongqiangqiang