(有源代碼)數(shù)值分析作業(yè),本文主要包括兩個部分,第一部分是常微分方程(ODE)的三個實驗題,第二部分是有關(guān)的拓展討論,包括高階常微分的求解和邊值問題的求解(BVP).文中的算法和算例都是基于Matlab計算的.ODE問題從剛性(STIFFNESS)來看分為非剛性的問題和剛性的問題,剛性問題(如大系數(shù)的VDP方程)用通常的方法如ODE45來求解,效率會很低,用ODE15S等,則效率會高多了.而通常的非剛性問題,用ODE45來求解會有很好的效果.從階次來看可以分為高階微分方程和一階常微分方程,高階的微分方程一般可以化為狀態(tài)空間(STATE SPACE)的低階微分方程來求解.從微分方程的性態(tài)看來,主要是微分方程式一階導(dǎo)系數(shù)大的時候,步長應(yīng)該選得響應(yīng)的小些.或者如果問題的性態(tài)不是太好估計的話,用較小的步長是比較好的,此外的話Adams多步法在小步長的時候效率比R-K(RUNGE-KUTTA)方法要好些,而精度也高些,但是穩(wěn)定區(qū)間要小些.從初值和邊值來看,也是顯著的不同的.此外對于非線性常微分方程還有打靶法,胞映射方法等.而對于微分方程穩(wěn)定性的研究,則諸如相平面圖等也是不可缺少的工具.值得提出的是,除了用ode系類函數(shù)外,用simulink等等模塊圖來求解微分方程也是一種非常不錯的方法,甚至是更有優(yōu)勢的方法(在應(yīng)用的角度來說).
上傳時間: 2014-01-05
上傳用戶:caixiaoxu26
how to add arrays * Use of const (constant) values. * Creation of vectors. * Passing vectors as function arguments. * Reading from files of unknown size (monitoring istream status). * Repetitive structures (while and for loops). * The increment operators (++). * Selection structures (if-else statements). * Use of the .size, .empty, .begin, .insert, .erase, .resize, .clear and .swap vector class member functions.
標簽: Creation constant Passing vectors
上傳時間: 2017-04-25
上傳用戶:1079836864
Learn how to: * Tokenize a null-terminated string * Create a search and replace function for strings * Implement subtraction for string objects * Use the vector, deque, and list sequence containers * Use the container adaptors stack, queue, and priority_queue * Use the map, multimap, set, and multiset associative containers * Reverse, rotate, and shuffle a sequence * Create a function object * Use binders, negators, and iterator adapters * Read and write files * Use stream iterators to handle file I/O * Use exceptions to handle I/O errors * Create custom inserters and extractors * Format date, time, and numeric data * Use facets and the localization library * Overload the [ ], ( ), and -> operators * Create an explicit constructor * And much, much more
標簽: null-terminated Tokenize Create string
上傳時間: 2014-01-18
上傳用戶:yph853211
oracle中常用函數(shù)說明. SQL中的單記錄函數(shù) 1.ASCII 返回與指定的字符對應(yīng)的十進制數(shù) SQL> select ascii( A ) A,ascii( a ) a,ascii( 0 ) zero,ascii( ) space from dual A A ZERO SPACE --------- --------- --------- --------- 65 97 48 32 2.CHR 給出整數(shù),返回對應(yīng)的字符 SQL> select chr(54740) zhao,chr(65) chr65 from dual ZH C -- - 趙 A 3.CONCAT 連接兩個字符串 SQL> select concat( 010- , 88888888 )|| 轉(zhuǎn)23 高乾競電話 from dual 高乾競電話 ---------------- 010-88888888轉(zhuǎn)23
上傳時間: 2014-11-23
上傳用戶:zhangyigenius
FLASH+SwiftMP3波形同步播放器模型 功能說明:FLASH+SwiftMP3波形同步的原理其實很簡單,SwiftMP3把MP3轉(zhuǎn)換成SWF的時候,把mp3中的音頻數(shù)據(jù)以變量s0、s1、s2、s3、……、s17共18個變量儲存,然后我們就可以根據(jù)這些變量的值即時設(shè)置波譜柱的高度了。注意我只是提供一個模型,解決了主要的技術(shù)內(nèi)核,但這個播放器離實際應(yīng)用還有一段距離,需要你自己去完善。 使用方法: 1,用SwiftMP3轉(zhuǎn)換音樂后,請在flash_boXing.xml文件中修改你的音樂名字和路徑,我設(shè)置最多為三條音樂,當然,相信聰明的你有了源文件,一定能自己隨便改:)。 2,“SwiftMP3-1.0”文件夾中是用來轉(zhuǎn)換MP3音樂的工具,你必須注冊,不然每次只能轉(zhuǎn)換一小段。 特別鳴謝sxl001 ,參考教程:http://space.flash8.net/bbs/thread-307160-1-1.html
上傳時間: 2013-12-09
上傳用戶:璇珠官人
Specification File adjacencyListGragh class GeneralGraph: use adjacency list to implement the graph which data structure is vector Construct methods: * public GeneralGraph(): contain an empty vector store the vertex and a boolean determines whether graph is directed or not, defaulted is undirected
標簽: adjacencyListGragh Specification GeneralGraph adjacency
上傳時間: 2013-12-13
上傳用戶:lyy1234
傳遞多種物品,并計數(shù)和單位 用vector進行保存 實現(xiàn)購物車的功能
標簽:
上傳時間: 2014-01-14
上傳用戶:chenbhdt
使用遞歸實現(xiàn)N重循環(huán),這里的N是不確定的。此代碼實現(xiàn)的功能描述如下: 1. 有一個字符串的矩陣,用vector< vector< CStirng > > 表示 2. 行與行之間進行排列組合 3. 輸出所有組合的字符串
上傳時間: 2014-01-02
上傳用戶:coeus
Sensing and planning are at the core of robot motion. Traditionally, mobile robots have been used for performing various tasks with a general-purpose processor on-board. This book grew out of our research enquiry into alternate architectures for sensor-based robot motion. It describes our research starting early 2002 with the objectives of obtaining a time, space and energy-efficient solution for processing sensor data for various robotic tasks. New algorithms and architectures have been developed for exploration and other aspects of robot motion. The research has also resulted in design and fabrication of an FPGA-based mobile robot equipped with ultrasonic sensors. Numerous experiments with the FPGA-based mobile robot have also been performed and they confirm the efficacy of the alternate architecture.
標簽: Traditionally planning Sensing motion
上傳時間: 2013-12-20
上傳用戶:古谷仁美
This code proposes genetic algorithm (GA) to optimize the point-to-point trajectory planning for a 3-link robot arm. The objective function for the proposed GA is to minimizing traveling time and space, while not exceeding a maximum pre-defined torque, without collision with any obstacle in the robot workspace.
標簽: point-to-point trajectory algorithm proposes
上傳時間: 2013-12-21
上傳用戶:chenxichenyue
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1