設(shè)計一個線性相位FIR濾波器(31階) 輸入8位,輸出8位,H(n)={1,2,0,-2,-2,1,6,6,-1,-13,-21,-11,22,69,111,128,111,……2,1} H(n)具有對稱性。 輸入信號范圍 [±99,0,0,0, ±70,0,0,0, ±99,0,0,0, ±70,…]
上傳時間: 2015-06-05
上傳用戶:sqq
* 高斯列主元素消去法求解矩陣方程AX=B,其中A是N*N的矩陣,B是N*M矩陣 * 輸入: n----方陣A的行數(shù) * a----矩陣A * m----矩陣B的列數(shù) * b----矩陣B * 輸出: det----矩陣A的行列式值 * a----A消元后的上三角矩陣 * b----矩陣方程的解X
上傳時間: 2015-07-26
上傳用戶:xauthu
1) 復(fù)制libminigui-str-1.6.2.tar.gz至任意用戶目錄。 2) 解壓此文件 tar zxvf libminigui-str-1.6.2.tar.gz 4) 將zlg7289.c zlg7289.h二文件拷貝入增值版的相應(yīng)目錄中 libminigui-1.6.2-linux/src/ial/ 5) 修改相關(guān)宏定義使上述二文件加入庫編譯。 a. 修改libminigui-1.6.2-linux/src/ial/Makefile.am 在29行增加 ZLG7289_SRCS = zlg7289.c zlg7289.h 在37行增加 $(ZLG7289_SRCS) b. 修改libminigui-1.6.2-linux/src/ial/ial.c 在166行加入 #include "zlg7289.h" 在282行的數(shù)組內(nèi)加入 {"zlg7289", InitZLG7289Input, TermZLG7289Input}, c. 進入項目主目錄, 重新配置編譯依賴 cd libminigui-1.6.2-linux 去掉后aclocal和automake后的版本號后,運行此腳本,忽略警告項。 d. 同上配置方法配置MiniGUI 6) 修改運行時配置文件MiniGUI.cfg中的IAL ial_engine=zlg7289
標(biāo)簽: libminigui-str tar gz zxvf
上傳時間: 2013-12-18
上傳用戶:獨孤求源
一:需求分析 1. 問題描述 魔王總是使用自己的一種非常精練而抽象的語言講話,沒人能聽懂,但他的語言是可逐步解釋成人能聽懂的語言,因為他的語言是由以下兩種形式的規(guī)則由人的語言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在這兩種形式中,從左到右均表示解釋.試寫一個魔王語言的解釋系統(tǒng),把 他的話解釋成人能聽得懂的話. 2. 基本要求: 用下述兩條具體規(guī)則和上述規(guī)則形式(2)實現(xiàn).設(shè)大寫字母表示魔王語言的詞匯 小寫字母表示人的語言的詞匯 希臘字母表示可以用大寫字母或小寫字母代換的變量.魔王語言可含人的詞匯. (1) B --> tAdA (2) A --> sae 3. 測試數(shù)據(jù): B(ehnxgz)B 解釋成 tsaedsaeezegexenehetsaedsae若將小寫字母與漢字建立下表所示的對應(yīng)關(guān)系,則魔王說的話是:"天上一只鵝地上一只鵝鵝追鵝趕鵝下鵝蛋鵝恨鵝天上一只鵝地上一只鵝". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鵝 | 追 | 趕 | 下 | 蛋 | 恨 |
上傳時間: 2014-12-02
上傳用戶:jkhjkh1982
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
標(biāo)簽: represented integers group items
上傳時間: 2016-01-17
上傳用戶:jeffery
一個能夠分析三種整數(shù)、標(biāo)識符、主要運算符和主要關(guān)鍵字的詞法分析程序。 ㈠、基本要求: 標(biāo)識符 <字母>(<字母>|<數(shù)字字符>)* 十進制整數(shù) 0 | (1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)* 八進制整數(shù) 0(1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* 十六進制整數(shù) 0x(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)* 運算符和分隔符 + - * / > < = ( ) ; 關(guān)鍵字 if then else while do ㈡、附加要求: 標(biāo)識符 <字母>(<字母>|<數(shù)字字符>)*(ε|_|.)(<字母>|<數(shù)字字符>)* 十進制整數(shù) (0|1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)*(ε|.)(0|1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)* 八進制整數(shù) 0(1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* (ε|.)(0|1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* 十六進制整數(shù) 0x(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)* (ε|.) (0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)*
上傳時間: 2016-03-03
上傳用戶:zhengjian
功能:編寫的計算皮亞諾相關(guān)系數(shù) 開發(fā)語言:ruby 調(diào)用:correlate(x,y) 其中,x,y為需要計算相關(guān)度的向量 調(diào)用示例: a = [3, 6, 9, 12, 15, 18, 21] b = [1.1, 2.1, 3.4, 4.8, 5.6] c = [1.9, 1.0, 3.9, 3.1, 6.9] c1 = correlate(a,a) # 1.0 c2 = correlate(a,a.reverse) # -1.0 c3 = correlate(b,c) # 0.8221970228 puts c1#,c2,c3
標(biāo)簽: correlate ruby 計算 12
上傳時間: 2013-12-18
上傳用戶:skfreeman
flash 鍵盤音效取自win2000系統(tǒng)ding.wav,經(jīng)過CoolEdit處理成音階,在Flash中導(dǎo)入在相應(yīng)按鈕上。 沒有難度,就是耐心一點,成績不錯哦! 對應(yīng)表: 低音G-a #G-w A-s #A-e B-d 中音C-f #C-t D-g #D-y E-h F-j #F-i G-k #G-o A-l #A-p B- 高音C-1 D-2 E-3 F-4 G-5 A-6 B-7 C(high)-8 #C-c #D-v #F-b #G-n #A-m
上傳時間: 2014-02-06
上傳用戶:ljmwh2000
八 方塊移動游戲要求從一個含8個數(shù)字(用1-8表示)的方塊以及一個空格方塊(用0表示)的3x3矩陣的起始狀態(tài)開始,不斷移動該空格方塊以使其和相鄰的方 塊互換,直至達(dá)到所定義的目標(biāo)狀態(tài)。空格方塊在中間位置時有上、下、左、右4個方向可移動,在四個角落上有2個方向可移動,在其他位置上有3個方向可移 動。例如,假設(shè)一個3x3矩陣的初始狀態(tài)為: 8 0 3 2 1 4 7 6 5 目標(biāo)狀態(tài)為: 1 2 3 8 0 4 7 6 5
上傳時間: 2013-12-17
上傳用戶:wang5829
點陣8*8使用,顯示1,2,3.。。。等。稍加修改便可使用。很方便的。
標(biāo)簽: 點陣
上傳時間: 2017-05-15
上傳用戶:qoovoop
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1