The algorithms are coded in a way that makes it trivial to apply them to other problems. Several generic routines for resampling are provided. The derivation and details are presented in: Rudolph van der Merwe, Arnaud Doucet, Nando de Freitas and Eric Wan. The Unscented Particle Filter. Technical report CUED/F-INFENG/TR 380, Cambridge University Department of Engineering, May 2000. After downloading the file, type "tar -xf upf_demos.tar" to uncompress it. This creates the directory webalgorithm containing the required m files. Go to this directory, load matlab5 and type "demo_MC" for the demo.
標簽: algorithms problems Several trivial
上傳時間: 2014-01-20
上傳用戶:royzhangsz
復數計算器:1、設計的任務要求 (1) 所設計的復數計算器可以進行+、-、*、+=、-=、*=、++、--、>=、<=、==、!=運算符,其中,>=、<=是針對復數的模進行計算。 (2) 設計輸入重載函數,要求能接收從鍵盤輸入a+bi形式的復數,在程序中可以識別出實部虛部并正確賦值。 (3) 設計計算器測試程序,對加減法進行測試,要求在兩位數以內進行,對乘法進行測試,乘法要求為一位數的計算。
上傳時間: 2016-04-28
上傳用戶:chenjjer
本實訓是有關線性表的順序存儲結構的應用,在本實訓的實例程序中,通過C語言中提供的數組來存儲兩個已知的線性表,然后利用數組元素的下標來對線性表進行比較。通過對本實訓的學習,可以理解線性表在順序存儲結構下的操作方法。 在實訓中,我們設A=(a1,a2,…,an)和B=(b1,b2,…,bm)是兩個線性表,其數據元素的類型是整型。若n=m,且ai=bi,則稱A=B 若ai=bi,而aj<bj,則稱A<B;除此以外,均稱A>B。設計一比較大小的程序。
上傳時間: 2014-01-14
上傳用戶:www240697738
看n2實例 #Create a simulator object set ns [new Simulator] #Define different colors for data flows #$ns color 1 Blue #$ns color 2 Red #Open the nam trace file set nf [open out-1.nam w] $ns namtrace-all $nf set f0 [open out0.tr w] set f1 [open out1.tr w] #Define a finish procedure proc finish {} { global ns nf $ns flush-trace #Close the trace file close $nf #Execute nam on the trace file exit 0 } #Create four nodes set n0 [$ns node] set n1 [$ns node] set n2 [$ns node] set n3 [$ns node] #Create links between the nodes $ns duplex-link $n0 $n2 1Mb 10ms
標簽: simulator Simulator different Create
上傳時間: 2016-07-02
上傳用戶:wfl_yy
用AVR單片機設計的MP3播放器 功能: MP3 Player IDE ATA interface FAT 32 with long file name support USB interface On board power supply (input from 7v to 20v DC) Bootloader firmware upgradeable via USB port Infrared bi-directional interface Remote Control Back light graphic LCD worked with only 2x AA batteries In sleep mode sink less than 1uA (2.5mA in active mode) 5 buttons for easy navigation Long range (more than 20 feets)
標簽: MP3 interface support Player
上傳時間: 2016-07-02
上傳用戶:fandeshun
SoftTimer.h 利用定時器T2模擬多個軟件定時器 特點: 只占用一個硬件定時器T2,就可以擴展出多達數十個以上的軟件定時器 軟件定時器基本定時單位是10ms,定時范圍很寬:0.01~163.84s 軟件定時器數量可以按需要設定,每增加一個,只多消耗2個字節的RAM空間 利用定時器T2的自動重裝特性,能夠實現所有軟件定時器的精確定時 所有軟件定時器都工作在14位倒計時方式,用TR和TF位控制,使用極為方便 第0號定時器專門用于Delay()函數,其它定時器可供用戶程序自由使用
上傳時間: 2014-01-16
上傳用戶:黑漆漆
一個在MASM環境下開發的鍵盤模擬鋼琴按鍵的匯編程序,本程序由三個模塊組成:八度音程的鋼琴程序即 main 通用發聲程序soundf,它能利用定時器發出指定頻率的聲音;還有就是IBM PC AT BIOS中的WAITF子程序,它是一個與處理器無關的時間延遲。
上傳時間: 2013-11-25
上傳用戶:ippler8
linux,Unix,shell編程詳細說明。本書內容全面,包括了awk, sed, tr等常用工具的用法,對于shell初學者是不可多得的好書。
上傳時間: 2016-09-04
上傳用戶:cccole0605
linux,shell編程。講解詳細,包括awk,sed,tr等工具的使用。對于初學者而言,非常有幫助。
上傳時間: 2013-12-17
上傳用戶:www240697738
linux,shell編程。講解詳細,包括awk,sed,tr等工具的使用。對于初學者而言,非常有幫助。
上傳時間: 2014-01-01
上傳用戶:小碼農lz