srand[getpid[]] /* initialize some of the memory */ memset[heightmap, 0, MAPSIZE*MAPSIZE] memset[vpage, 0, RENDERWIDTH * RENDERHEIGHT] printf["Creating dx d fractal terrain\n", MAPSIZE, MAPSIZE] heightmap[0] = [rand[] 128] + 64 // initialize starting point on map CreateFractalMap[0, 0, MAPSIZE, MAPSIZE] printf["Smoothing terrain\n"] for [i = 0 i < 5 i++] SmoothMap[] MakeColorMap[]
標簽: MAPSIZE initialize heightmap getpid
上傳時間: 2013-12-25
上傳用戶:CSUSheep
Features a unique program to estimate the power spectral density. The spectrum containing all significant details is calculated from a time series model. Model type as well as model order are determined automatically from the data, using statistical criteria. Robust estimation algorithms and order selection criteria are used to obtain reliable results. Unlike in FFT analysis, where the experimenter has to set the amount of Smoothing of the raw FFT, the right level of detail is assessed using the data only.
標簽: containing Features estimate spectral
上傳時間: 2014-02-09
上傳用戶:daguda
用vhdl實現數字鐘 其一,具有時,分,秒計數顯示功能,其中,要求以二十四小時循環及 時; 其二,具有清零,調節小時,分鐘功能; 其三,具有整點報時功能,而且在整點報時的同時 LED 燈花樣顯示。 其一,具有時,分,秒計數顯示功能,其中,要求以二十四小時循環及 時; 其二,具有清零,調節小時,分鐘功能; 其三,具有整點報時功能,而且在整點報時的同時 LED 燈花樣顯示。 其一,具有時,分,秒計數顯示功能,其中,要求以二十四小時循環及
標簽: 用vhdl實現數字鐘
上傳時間: 2015-06-24
上傳用戶:吧和GV會比較好
matlab有限元網格劃分程序 DistMesh is a simple MATLAB code for generation of unstructured triangular and tetrahedral meshes. It was developed by Per-Olof Persson (now at UC Berkeley) and Gilbert Strang in the Department of Mathematics at MIT. A detailed description of the program is provided in our SIAM Review paper, see documentation below. One reason that the code is short and simple is that the geometries are specified by Signed Distance Functions. These give the shortest distance from any point in space to the boundary of the domain. The sign is negative inside the region and positive outside. A simple example is the unit circle in 2-D, which has the distance function d=r-1, where r is the distance from the origin. For more complicated geometries the distance function can be computed by interpolation between values on a grid, a common representation for level set methods. For the actual mesh generation, DistMesh uses the Delaunay triangulation routine in MATLAB and tries to optimize the node locations by a force-based Smoothing procedure. The topology is regularly updated by Delaunay. The boundary points are only allowed to move tangentially to the boundary by projections using the distance function. This iterative procedure typically results in very well-shaped meshes. Our aim with this code is simplicity, so that everyone can understand the code and modify it according to their needs. The code is not entirely robust (that is, it might not terminate and return a well-shaped mesh), and it is relatively slow. However, our current research shows that these issues can be resolved in an optimized C++ code, and we believe our simple MATLAB code is important for demonstration of the underlying principles. To use the code, simply download it from below and run it from MATLAB. For a quick demonstration, type "meshdemo2d" or "meshdemond". For more details see the documentation.
標簽: matlab有限元網格劃分程序
上傳時間: 2015-08-12
上傳用戶:凜風拂衣袖
DLMS 編輯 本詞條缺少名片圖,補充相關內容使詞條更完整,還能快速升級,趕緊來編輯吧! 配電線報文規范(Distribution Line Message Specification) [IEC 62056-53]是應用層規范,獨立于應用層以下的各個低層,因而也就與通信信道無關,設計用于在計算機集成環境中支持與(能量)分配設備間的消息交換,是由IEC TC57建立并以IEC 61334-4-41發布的國際標準。 中文名 配電線報文規范 外文名 Distribution Line Message Specification) 建立者 IEC TC57 應用領域 于抄表、遠程控制以及增值服務等 這個概念被進一步發展成為設備語言報文規范,其目的在于為結構化建模和儀表數據交換提供一個互操作環境,支持任何能量類型如電、水、氣或熱的計量,應用于遠程抄表、遠程控制以及增值服務
上傳時間: 2016-04-07
上傳用戶:auqaiss
16qam 隨著現代通信技術的發展, 特別是移動通信技術高速發展, 頻帶利用率問題 越來越被人們關注。 在頻譜資源非常有限的今天, 傳統通信系統的容量已經不能 滿足當前用戶的要求。正交幅度調制 QAM(Quadrature Amplitude Modulation) 以其高頻譜利用率、 高功率譜密度等優勢, 成為寬帶無線接入和無線視頻通信的 重要技術方案。 隨著現代通信技術的發展, 特別是移動通信技術高速發展, 頻帶利用率問題 越來越被人們關注。 在頻譜資源非常有限的今天, 傳統通信系統的容量已經不能 滿足當前用戶的要求。正交幅度調制 QAM(Quadrature Amplitude Modulation) 以其高頻譜利用率、 高功率譜密度等優勢, 成為寬帶無線接入和無線視頻通信的 重要技術方案。
上傳時間: 2016-06-26
上傳用戶:guh000
西門子語句表(STL)編程參考手冊,了解西門子STL語言的最基本的知識
上傳時間: 2017-12-07
上傳用戶:wangheping1234
? 如果 PCB 用排線連接,控制排線對應的插頭插座必須成直線,不交叉、不扭曲。 ? 連續的 40PIN 排針、排插必須隔開 2mm 以上。 ? 考慮信號流向,合理安排布局,使信號流向盡可能保持一致。 ? 輸入、輸出元件盡量遠離。 ? 電壓的元器件應盡量放在調試時手不易觸及的地方。 ? 驅動芯片應靠近連接器。 ? 有高頻連線的元件盡可能靠近,以減少高頻信號的分布參數和電磁干擾。 ? 對于同一功能或模組電路,分立元件靠近芯片放置。 ? 連接器根據實際情況必須盡量靠邊放置。 ? 開關電源盡量靠近輸入電源座。 ? BGA 等封裝的元器件不應放于 PCB 板正中間等易變形區 ? BGA 等陣列器件不能放在底面, PLCC 、 QFP 等器件不宜放在底層。 ? 多個電感近距離放置時應相互垂直以消除互感。 ? 元件的放置盡量做到模塊化并連線最短。 ? 在保證電氣性能的前提下,盡量按照均勻分布、重心平衡、版面美觀的標準優化布局。 ? 按電路模塊進行布局,實現同一功能的相關電路稱為一個模塊,電路模塊中的元件應采用就近集 中原則,同時數字電路和模擬電路分開; ? 定位孔、標準孔等非安裝孔周圍 1.27mm 內不得貼裝元、器件,螺釘等安裝孔周圍 緊固件安裝孔、橢圓孔及板中其它方孔外側距板邊的尺寸大于 3mm ; ? 發熱元件不能緊鄰導線和熱敏元件;高熱器件要均衡分布;
上傳時間: 2021-06-25
上傳用戶:xiangshuai