在0 / 1背包問題中,需對容量為c 的背包進行裝載。從n 個物品中選取裝入背包的物品,每件物品i 的重量為wi ,價值為pi 。對于可行的背包裝載,背包中物品的總重量不能超過背包的容量,最佳裝載是指所裝入的物品價值最高。
標簽: 背包問題
上傳時間: 2014-03-10
上傳用戶:ardager
異步電機矢量控制控制的matlab實現,系統采用3個pi調節器,分別為磁鏈調節器、轉矩電流調節器、轉速調節器,封裝得比較好,適合初學者,版本matlab7.1
上傳時間: 2013-12-25
上傳用戶:牛津鞋
概率與數理統計的小作業,通過隨機輸入的兩個數來獲取偽隨機數,進行概率計算PI的約值
上傳時間: 2017-07-21
上傳用戶:dianxin61
This software is developed to provide ease with controller design. For PID control, options are given to design and analyse the compensated and uncompensated system. You are free to choice among Proportional PI, PD and PID mode of control. Both frequency and time domain characteristics can be observed. Special Menus are given to observe time and frequency response plots. For Statefeedback controller similar options are given. But this is limited to second order system only.
標簽: controller developed software control
上傳時間: 2017-07-25
上傳用戶:aysyzxzm
使用MATLAB對DSB-AM進行仿真:雙邊帶幅度調制的過程以及對其中所包含的對信號的頻譜分析都可以通過MATLAB中的M語句及相關函數來實現。假如信號m(t)=cos(m)以dsb-am方式調制載波c(t)=cos(20*pi*t),所的信號為y(t),并將采樣頻率定為 fs=100Hz,則可在MATLAB中設計程序對該幅度調制的結果進行仿真,繪制已調信號波形和頻譜分析。
上傳時間: 2013-12-30
上傳用戶:JIUSHICHEN
hurst parameter: 給入一序列的資類,程式會畫出husrt 參數的figure和估計值 例 hurst_expo(sin(0:0.01:5*pi))
上傳時間: 2014-12-03
上傳用戶:moerwang
Java 數值計算庫 數列求和算法、求解方程的根、插值法和近似法、 數值積分、求解微分方程、矩陣運算及其它一些有趣的東西, 比如:大數、素數算法、PI、分形等等
上傳時間: 2013-12-04
上傳用戶:yulg
1.河內之塔........................................................................................................................................ 4 2.Algorithm Gossip: 費式數列........................................................................................................ 5 3. 巴斯卡三角形.............................................................................................................................. 6 4.Algorithm Gossip: 三色棋............................................................................................................ 7 5.Algorithm Gossip: 老鼠走迷官(一)........................................................................................ 9 6.Algorithm Gossip: 老鼠走迷官(二)...................................................................................... 11 7.Algorithm Gossip: 騎士走棋盤.................................................................................................. 13 8.Algorithm Gossip: 八皇后.......................................................................................................... 16 9.Algorithm Gossip: 八枚銀幣...................................................................................................... 18 10.Algorithm Gossip: 生命游戲.................................................................................................... 20 11.Algorithm Gossip: 字串核對.................................................................................................... 23 12.Algorithm Gossip: 雙色、三色河內塔.................................................................................... 25 13.Algorithm Gossip: 背包問題(Knapsack Problem)............................................................. 29 14.Algorithm Gossip: 蒙地卡羅法求PI...................................................................................... 34 15.Algorithm Gossip: Eratosthenes 篩選求質數............................................................................36 16.Algorithm Gossip: 超長整數運算(大數運算)....................................................................37 17.Algorithm Gossip: 長PI...........................................................................................................39 18.Algorithm Gossip: 最大公因數、最小公倍數、因式分解....................................................43 19.Algorithm Gossip: 完美數........................................................................................................ 46 20.Algorithm Gossip: 阿姆斯壯數................................................................................................ 49 21.Algorithm Gossip: 最大訪客數................................................................................................ 50 22.Algorithm Gossip: 中序式轉后序式(前序式)....................................................................52 23.Algorithm Gossip: 后序式的運算............................................................................................ 56 24.Algorithm Gossip: 洗撲克牌(亂數排列)............................................................................58 25.Algorithm Gossip: Craps 賭博游戲...........................................................................................60 26.Algorithm Gossip: 約瑟夫問題(Josephus Problem)...........................................................62 27.Algorithm
標簽: C語言算法經典
上傳時間: 2015-04-30
上傳用戶:cascas
Use the fast Fourier transform function fft to analyse following signal. Plot the original signal, and the magnitude of its spectrum linearly and logarithmically. Apply Hamming window to reduce the leakage. . The hamming window can be coded in Matlab as for n=1:N hamming(n)=0.54+0.46*cos((2*n-N+1)*pi/N); end; where N is the data length in the FFT.
標簽: matlab fft
上傳時間: 2015-11-23
上傳用戶:石灰巖123
隨著PCB設計復雜度的逐步提高,對于信號完整性的分析除了反射,串擾以及EMI之外,穩定可靠的電源供應也成為設計者們重點研究的方向之一。尤其當開關器件數目不斷增加,核心電壓不斷減小的時候,電源的波動往往會給系統帶來致命的影響,于是人們提出了新的名詞:電源完整性,簡稱PI(power integrity)。其實,PI和SI是緊密聯系在一起的,只是以往的EDA仿真工具在進行信號完整性分析時,一般都是簡單地假設電源絕對處于穩定狀態,但隨著系統設計對仿真精度的要求不斷提高,這種假設顯然是越來越不能被接受的,于是PI的研究分析也應運而生。從廣義上說,PI是屬于SI研究范疇之內的,而新一代的信號完整性仿真必須建立在可靠的電源完整性基礎之上。雖然電源完整性主要是討論電源供給的穩定性問題,但由于地在實際系統中總是和電源密不可分,通常把如何減少地平面的噪聲也作為電源完整性中的一部分進行討論。
標簽: 開關電源 PCB設計
上傳時間: 2015-12-25
上傳用戶:ccyh