編寫一個用SOR法解方程組Ax=b的計算機程序,其中 要求程序中不存系數A,分別對不同的階數(例如n=15,80)取w=1.7,1.8,1.9,進行迭代,記錄近似解 達到 時所用迭代次數k,觀察松弛因子對收斂速度的影響。
上傳時間: 2013-12-25
上傳用戶:wcl168881111111
Generate 100 samples of a zero-mean white noise sequence with variance , by using a uniform random number generator. a Compute the autocorrelation of for . b Compute the periodogram estimate and plot it. c Generate 10 different realizations of , and compute the corresponding sample autocorrelation sequences , and . Compute the average autocorrelation sequence as and the corresponding periodogram for . d Compute and plot the average periodogram using the Bartlett method. e Comment on the results in parts (a) through (d).
標簽: zero-mean Generate sequence variance
上傳時間: 2016-03-04
上傳用戶:朗朗乾坤
1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if A = 1 2 3 then B = 3 2 1 4 5 6 6 5 4 7 8 9 9 8 7 Write a main program to call reverse(A) for the matrix A = magic(5). Print to the screen both A and reverse(A). 2) Write a program which accepts an input k from the keyboard, and which prints out the smallest fibonacci number that is at least as large as k. The program should also print out its position in the fibonacci sequence. Here is a sample of input and output: Enter k>0: 100 144 is the smallest fibonacci number greater than or equal to 100. It is the 12th fibonacci number.
標簽: dimensions arbitrary function reverse
上傳時間: 2016-04-16
上傳用戶:waitingfy
簡易數字頻率計題解.( 1997年 B 題 ) 編寫與講解人:田良(東南大學無線電系,2003年3月12日) 一)任務 設計并制作一臺數字顯示的簡易頻率計。 (二)要求 1.基本要求 (1)頻率測量 a.測量范圍 信號:方波、正弦波 幅度:0.5V~5V[注] 頻率:1Hz~1MHz b.測試誤差≤0.1% (2)周期測量 a.測量范圍 信號:方波、正弦波 幅度:0.5V~5V[注] 頻率:1Hz~1MHz b.測試誤差≤0.1% 3) 脈沖寬度測量 a.測量范圍 信號:脈沖波 幅度:0.5V~5V[注] 脈沖寬度≥100μs b.測試誤差≤0.1% (4)顯示器 十進制數字顯示,顯示刷新時間1~10秒 連續可調,對上述三種測量功能分別采用不同顏色的 發光二極管指示。 (5)具有自校功能,時標信號頻率為1MHz。 (6)自行設計并制作滿足本設計任務要求的穩壓電源
上傳時間: 2013-12-26
上傳用戶:xg262122
采用3D Bresenham算法在兩點間劃一直線 % This program is ported to MATLAB from: % B.Pendleton. line3d - 3D Bresenham s (a 3D line drawing algorithm) % ftp://ftp.isc.org/pub/usenet/comp.sources.unix/volume26/line3d, 1992 % % Which is referenced by: % Fischer, J., A. del Rio (2004). A Fast Method for Applying Rigid % Transformations to Volume Data, WSCG2004 Conference. % http://wscg.zcu.cz/wscg2004/Papers_2004_Short/M19.pdf
標簽: Bresenham Pendleton program MATLAB
上傳時間: 2013-12-10
上傳用戶:sz_hjbf
Thinking in Java, 3rd ed. Revision 4.0 Preface Introduction 1: Introduction to Objects 2: Everything is an Object 3: Controlling Program Flow 4: Initialization & Cleanup 5: Hiding the Implementation 6: Reusing Classes 7: Polymorphism 8: Interfaces & Inner Classes 9: Error Handling with Exceptions 10: Detecting Types 11: Collections of Objects 12: The Java I/O System 13: Concurrency 14: Creating Windows & Applets 15: Discovering Problems 16: Analysis and Design A: Passing & Returning Objects B: Java Programming Guidelines C: Supplements D: Resources Index
標簽: Introduction Thinking Revision Preface
上傳時間: 2014-07-13
上傳用戶:netwolf
Creating barcodes in Microsoft廬 Office has never been easier. With BarCodeWiz Toolbar you can add barcodes to Microsoft廬 Office applications with a click of a button. In Microsoft廬 Word, create single barcodes, pages of labels, or mail merge documents. In Microsoft廬 Excel廬, select a range of cells and automatically convert each cell to a barcode. In Microsoft廬 Access廬, create reports with barcodes based on your data tables.
標簽: BarCodeWiz Microsoft Creating barcodes
上傳時間: 2013-12-18
上傳用戶:asddsd
In this program, several statistical fading channel simulators using the Sum-of-Sinusoids (SoS)has been implemented.A Rayleigh fading channel impulse respose using jakes model has been generated in matlab
標簽: Sum-of-Sinusoids statistical simulators program
上傳時間: 2017-05-30
上傳用戶:ainimao
Abstract-In this paper, simple autonomous chaotic circuits coupled by resistors are investigated. By carrying out computer calculations and circuit experiments, irregular self-switching phenomenon of three spatial patterns characterized by the phase states of quasi-synchronization of chaos can be observed from only four simple chaotic circuits. This is the same phenomenon as chaotic wandering of spatial patterns observed very often from systems with a large number of degrees of freedom. Namely, one of spatial-temporal chaos observed from systems of large size can be also generated in the proposed system consisting of only four chaotic circuits. A six subcircuits case and a coupled chaotic circuits networks are also studied, and such systems are confirmed to produce more complicated spatio-temporal phenomena.
標簽: investigated Abstract-In autonomous resistors
上傳時間: 2014-06-09
上傳用戶:h886166
已知數據文件IN.dat中存有200個四位數,并已調用讀函數rData()把這些數存入數組a中,請編寫函數spellNum(),其功能是:把個位數字和千位數字重新組成一個新的二位數(新二位數的十位數字是原四位數的個位數字,新二位數的個位數字是原四位數的千位數字),以及把百位數字和十位數字組成另一個新的二位數(新二位數的十位數字是原四位數的百位數字,新二位數的個位數字是原四位數的十位數字),如果新組成的兩個二位數一個是奇數,另一個為偶數,并且兩個二位數中至少有一個數能被17整除,同時兩個新數的十位數字均不為0,則將滿足此條件的四位數按從大到小的順序存入數組b中,并要計算滿足上述條件的四位數的個數count。最后main()函數調用寫函數wData(),把結果count以及數組b中符合條件的四位數輸出到OUT.dat文件中。
上傳時間: 2014-10-29
上傳用戶:李彥東