PlotSphereIntensity(azimuth, elevation) PlotSphereIntensity(azimuth, elevation, intensity) h = PlotSphereIntensity(...) Plots the intensity (as color) of a number of points on a unit sphere. Input: azimuth (phi), in degrees elevation (theta), in degrees intensity (optional, if not provided, a green sphere is produced) All inputs must be vectors or matrices of the same size. Data does not have to be evenly spaced. When there aren t enough points to draw a smooth sphere, additional points (with color) are interpolated. Output: h - a handle to the patch object The axes are also plotted: positive x axis is red positive y axis is green positive z axis is blue
標簽: PlotSphereIntensity elevation azimuth intensity
上傳時間: 2014-01-15
上傳用戶:ruan2570406
這是一個圖形變換的程序,按字母“Y”畫一個用點組成的圓;按字母“S”畫一 個用不同顏色填充的三角形;按字母“Z”畫一個用不同顏色填充且帶有邊框圖案 的矩形;按“q”鍵退出。
上傳時間: 2016-04-30
上傳用戶:一諾88
功能:在默認有唯一解的情況下,求出一次方程組的解 使用說明:1.在方程計算器所在目錄下新建一個文本文檔并另存為“matrix”(注意文件名的大小寫和拼寫) 格式: 第一行是未知數個數n 后面每行n+1個用空格隔開的數,表示一個方程 (e.g) 2x+3y-z=6 就輸入 2 3 -1 6 2.保存之后雙擊運行“方程計算器” 3.程序會在目錄下生成名為“answer”的文本文檔,打開就是答案了。
標簽:
上傳時間: 2016-05-02
上傳用戶:xg262122
表達式類型的實現: 1、 一個表達式和一顆二叉樹之間,存在著自然的對應關系。 2、 假設算術表達式Expression內可以含有變量(a~z)、常量(0~9)和二元運算符(+,-,*,/,^)。實現一下操作。 (1) ReadExpr(E)——以字符序列的形式輸入語法正確的前綴表示式并構造表達式E。 (2) WritrExpr(E)——用帶括弧的中綴表示式輸出表達式E。 (3) Assign(V,c)——實現對變量V的賦值(V=c),變量的初值為0。 (4) Value(E)——對算術表達式E求值。 (5) CompoundExpr(P,E1,E2)——構造一個新的復合表達式(E1)P (E2)。
上傳時間: 2013-12-09
上傳用戶:luke5347
實現最優二叉樹的構造;在此基礎上完成哈夫曼編碼器與譯碼器。 假設報文中只會出現如下表所示的字符: 字符 A B C D E F G H I J K L M N 頻度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 57 字符 O P Q R S T U V W X Y Z , . 頻度 63 15 1 48 51 80 23 8 18 1 16 1 6 2 要求完成的系統應具備如下的功能: 1.初始化。從終端(文件)讀入字符集的數據信息,。建立哈夫曼樹。 2.編碼:利用已建好的哈夫曼樹對明文文件進行編碼,并存入目標文件(哈夫曼碼文件)。 3.譯碼:利用已建好的哈夫曼樹對目標文件(哈夫曼碼文件)進行編碼,并存入指定的明文文件。 4.輸出哈夫曼編碼文件:輸出每一個字符的哈夫曼編碼。
上傳時間: 2014-11-23
上傳用戶:shanml
Addfilter is a command-line application which adds and removes filter drivers for a given drive or volume. It is intended to demonstrate how to insert a filter driver into the driver stack of a device. The sample illustrates how to do this by using the SetupDi APIs. The sample works on the x86 platform. It has only been tested in a 32-bit environment. Since Addfilter is not a driver, it does not deal with Plug and Play or Power Management.
標簽: command-line application Addfilter drivers
上傳時間: 2016-05-17
上傳用戶:xzt
赫夫曼編碼與譯碼 本程序完全采用鏈式存儲結構,用戶在輸入字符流后(無字符限制,無長度限制)(以EOF結束,即crtl+z),即可自動統計出現的字符,建立赫夫曼樹,輸出各字符的赫夫曼編碼,翻譯用戶輸入的字符流輸出到文件中(output.txt),最后進行譯碼,輸出字符流。 可供學習《數據結構》(清華大學出版社)(P146赫夫曼編碼)、《數據結構課程設計》(機械工業出版社)(P87赫夫曼編碼的應用)時參考,本程序不同于書中的順序存儲結構,效率更高
上傳時間: 2016-06-03
上傳用戶:mhp0114
C++STL STL(Standard Template Library,標準模板庫)是惠普實驗室開發的一系列軟件的統稱。它是由Alexander Stepanov、Meng Lee和David R Musser在惠普實驗室工作時所開發出來的。現在雖說它主要出現在C++中,但在被引入C++之前該技術就已經存在了很長的一段時間。 STL的代碼從廣義上講分為三類:algorithm(算法)、container(容器)和iterator(迭代器),幾乎所有的代碼都采用了模板類和模版函數的方式,這相比于傳統的由函數和類組成的庫來說提供了更好的代碼重用機會。在C++標準中,STL被組織為下面的13個頭文件:<algorithm>、<deque>、<functional>、<iterator>、<vector>、<list>、<map>、<memory>、<numeric>、<queue>、<set>、<stack>和<utility>。以下筆者就簡單介紹一下STL各個部分的主要特點。
標簽: STL Standard Template Library
上傳時間: 2016-06-20
上傳用戶:cylnpy
MFC界面:1.模擬立方體攝像機成像2.區域錄屬判別. 實驗一:點擊實驗一下的攝像機成像,生成初始化的投影圖像,再拖動鼠標,變換立方體的位置(其中Z坐標位置不變),生成投影圖像。實驗二:點擊實驗二下生成圖像。實驗三:點擊實驗三下的區域錄屬,再點擊屏幕上任何一位置。
上傳時間: 2016-06-28
上傳用戶:ukuk
Addfilter is a command-line application which adds and removes filter drivers for a given drive or volume. It is intended to demonstrate how to insert a filter driver into the driver stack of a device. The sample illustrates how to do this by using the SetupDi APIs. The sample works on the x86 platform. It has only been tested in a 32-bit environment. Since Addfilter is not a driver, it does not deal with Plug and Play or Power Management. No INF file is needed to install this application.
標簽: command-line application Addfilter drivers
上傳時間: 2016-06-28
上傳用戶:源碼3