鄰接矩陣類的根是A d j a c e n c y W D i g r a p h,因此從這個類開始。程序1 2 - 1給出了類的描述。程 序中,先用程序1 - 1 3中函數Make2DArray 為二組數組a 分配空間,然后對數組a 初始化,以描述 一個n 頂點、沒有邊的圖的鄰接矩陣,其復雜性為( n2 )。該代碼沒有捕獲可能由M a k e 2 D A r r a y 引發的異常。在析構函數中調用了程序1 - 1 4中的二維數組釋放函數D e l e t e 2 D
標簽: 矩陣
上傳時間: 2013-12-21
上傳用戶:lanjisu111
代入法的啟發示搜索 我的代碼實現是:按照自然語言各字母出現頻率的大小從高到低(已經有人作國統計分析了)先生成一張字母出現頻率統計表(A)--------(e),(t,a,o,i,n,s,h,r),(d,l),(c,u,m,w,f,g,y,p,b),(v,k,j,x,q,z) ,再對密文字母計算頻率,并按頻率從高到低生成一張輸入密文字母的統計表(B),通過兩張表的對應關系,不斷用A中的字母去替換B中的字母,搜索不成功時就回退,在這里回朔是一個關鍵。
上傳時間: 2015-10-24
上傳用戶:wanqunsheng
To estimate the input-output mapping with inputs x % and outputs y generated by the following nonlinear, % nonstationary state space model: % x(t+1) = 0.5x(t) + [25x(t)]/[(1+x(t))^(2)] % + 8cos(1.2t) + process noise % y(t) = x(t)^(2) / 20 + 6 squareWave(0.05(t-1)) + 3 % + time varying measurement noise % using a multi-layer perceptron (MLP) and both the EKF and % the hybrid importance-samping resampling (SIR) algorithm.
標簽: input-output the generated following
上傳時間: 2014-01-05
上傳用戶:royzhangsz
在命令窗輸入如下內容就得到圖形了: [t,x]=ode45( godhua ,[0,10],[0,0,0,1]) subplot(131) plot(t,x(:,4)) xlabel( t ) ylabel( y ) subplot(132) plot(t,x(:,1)) xlabel( t ) ylabel( v ) subplot(133) plot(t,x(:,2)) xlabel( t ) ylabel( \theta )
標簽: subplot godhua xlabel plot
上傳時間: 2013-12-25
上傳用戶:15736969615
System.out.print(s) System.out.println(t) System.out.print(u) System.out.println(v) System.out.print(a) System.out.print(b) System.out.print(c) System.out.println(d) x=0x5f20 y=0x5f35 z=0xffff System.out.print(x) System.out.print(y) System.out.println(z)
上傳時間: 2016-07-01
上傳用戶:日光微瀾
使用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
metricmatlab ch ¬ ng 4 Ma trË n - c¸ c phÐ p to¸ n vÒ ma trË n. 4.1 Kh¸ i niÖ m: - Trong MATLAB d÷ liÖ u ® Ó ® a vµ o xö lý d íi d¹ ng ma trË n. - Ma trË n A cã n hµ ng, m cét ® î c gä i lµ ma trË n cì n m. § î c ký hiÖ u An m - PhÇ n tö aij cñ a ma trË n An m lµ phÇ n tö n» m ë hµ ng thø i, cét j . - Ma trË n ® ¬ n ( sè ® ¬ n lÎ ) lµ ma trË n 1 hµ ng 1 cét. - Ma trË n hµ ng ( 1 m ) sè liÖ u ® î c bè trÝ trª n mét hµ ng. a11 a12 a13 ... a1m - Ma trË n cét ( n 1) sè liÖ u ® î c bè trÝ trª n 1 cét.
標簽: metricmatlab 203 184 tr
上傳時間: 2017-07-29
上傳用戶:來茴
壓電陶瓷換能器在醫學超音波儀器的應用
上傳時間: 2013-07-13
上傳用戶:eeworm
GB/T 4728.10-2008 電氣簡圖用圖形符號 第10部分:電信:傳輸.PDF
上傳時間: 2013-08-04
上傳用戶:eeworm
GB/T 4728.09-2008 電氣簡圖用圖形符號 第09部分:電信:交換和外圍設備
上傳時間: 2013-07-12
上傳用戶:eeworm