- 博客(73)
- 资源 (5899)
- 收藏
- 关注
转载 Introduction to Display Drivers
IntroductionIt has been a while since I have updated this series and I have found some free time to write the next version. In this article, we will take a look at how to write a simple display driv
2009-04-28 19:32:00 2498 2
转载 Introduction to the Transport Device Interface
IntroductionWelcome to the fifth installment of the driver development series. The title of this article is a little bit misleading. Yes, we will be writing a TDI Client for demonstration purposes h
2009-04-28 19:31:00 2495
转载 Introduction to device stacks
IntroductionThis is the fourth edition of the Writing Device Drivers articles. This article will introduce the idea of device stacks and how devices interact with each other. We will use the previou
2009-04-28 19:25:00 1617
转载 Introduction to driver contexts
IntroductionThis is the third edition of the Writing Device Drivers articles. The first article helped to simply get you acquainted with device drivers and a simple framework for developing a device
2009-04-28 19:22:00 2229
转载 Introduction to Implementing IOCTLs
IntroductionThis is the second tutorial of the Writing Device Drivers series. There seems to be a lot of interest in the topic, so this article will pick up where the first left off. The main focus
2009-04-28 19:19:00 1704
转载 Introduction to Drivers
IntroductionThis tutorial will attempt to describe how to write a simple device driver for Windows NT. There are various resources and tutorials on the internet for writing device drivers, however,
2009-04-28 18:58:00 1916
转载 CxImage与OpenGL结合,用于读入多种格式的纹理以及用来把屏幕保存为各种格式的图像文件。
关于CxImage的文章,网上有许多,这里只介绍如何把CxImage与OpenGL结合起来,用于读入多种格式的纹理以及用来把屏幕保存为各种格式的图像文件。支持的格式有:BMP,GIF,ICO,JP2,FPC,FPG,PCX,PNG,PNM,RAS,TGA,TIF等等。支持读入透明纹理。CxImage官方网站:http://www.xdp.it///使用CxImage来为Open
2009-04-27 17:21:00 2851
原创 小波神经网络MATLAB程序
clear all%initiate of data P=3 %numberof sample m=1%number of input node n=10%number of hidden node N=1%number of ouptut node % %a(n) b(n) scale and shifting parameter matrix %x(P,m) input matrix of P
2009-04-12 15:39:00 14528 2
原创 MATLAB数值法与微积分
第十二章 數值法與微積分 12.1 前言函數之微分為求函數對自變數之導數,或為其斜率;利用數值方法則可以解出其他相關之問題,其應用部份已在前章討論。數值微分有兩種應用,其一是在資料收集完備後,分析其變化速度;其二為即時估計或量測速率。後者需要快速演算法才能有立即反應。計算斜率,依其定義即為dy/dx,在數值分析上必須轉化為可量測之變化量,亦即lim(Δy/Δx)。量取Δy或Δ
2009-04-10 20:57:00 13797 4
原创 MATLAB统计与回归
11.1 前言統計的技巧與資料分析常常形影不離。一般統計使用加法、累加法、平均值,中間值等等,由於處理的對象是矩陣資料,故其基本統計之技巧已經廣為應用,其觀念也會在正常之運作中出現。統計學中比較特殊應用者為機率、亂數、常態分配等,
2009-04-10 20:51:00 35312
原创 MATLAB方程式求解
第十章 聯立方程式解 解聯立方程式為線性代數之第一步,MATLAB 在這方面具有強大的解題功能。利用矩陣除法可以在解題技術上發揮相當大的功效。在工程上,一般線性聯立方程式常用作結構分析或機構設計,計算桁架之應力等。其他如化學程序中之質能平衡、電子學中之電路分析等等均可利用線性方程式得解。在前述之二維繪圖指令中,部份可配合統計上的需要加以應用,對於某些資料之說明甚有幫助。有關線性聯立方程
2009-04-10 20:50:00 22250 3
原创 MATLAB资料输入输出
第七章 資料之輸入與輸出 資料之輸入及輸出同等重要。輸入與輸出均有特定的指令,有些應用於檔案,有些則直接由鍵盤輸入。在輸出的指令中,比較正式使用的為fprintf函數,其型式係沿用C語言,有些設定與該語言相通;比較簡單的型式則如disp指令,主要應用於螢幕之顯示。輸出指令則以fscanf為主,其參數及格式與fprintf大體相同,而螢幕常用的指令則是input函數。詳細的分類可參考表5
2009-04-10 20:47:00 5433
原创 MATLAB多项式应用
第八章 多項式之應用 對於多項式MATLAB也提供許多指令可供運算,相關的指令如下表:函數名稱 說明 conv(p,q) 兩多項式相乘 [q,r]=deconv (num,den) 兩多項式相除,q為商,r為餘數,num分子,den為分母 roots 求多項式之根 poly(r) 將根轉為多項式.
2009-04-10 20:47:00 10902
原创 MATLAB自定义函数
第六章 自訂函數 6.1敘述檔與函數檔MATLAB依執行時之實質型式分為兩種,其一為前面所述之敘述檔( script files),另一為函數檔(function files);兩者均可在指令窗中呼叫。但敘述檔中,使用者可將檔案內所含的指令一一地在指令窗下執行,其執行過程中,所發生的變數均為整體性變數。因此執行敘述檔時,只能呼叫其檔案名稱,不能在名稱後面加上任何輸入參數。若要
2009-04-10 20:46:00 16924 6
原创 MATLAB资料结论
第五章 資料結構 5.1資料型式在MATLAB中,其基本資料型式約有十五種,每種均可以陣列與矩陣表示。有些前面已經使用過,有些則屬使用者定義的範圍。一般的資料型式除整數,有單精度、雙精度、邏輯值、字母、細胞陣列、結構、函數握把值等等,視需要而定。數值的表示法則有整數、浮點、複數等等。對於任意數值屬於何種型式則可利用class函數進行檢驗,在指令窗中亦可利用whos函數顯示其大
2009-04-10 20:45:00 2634
原创 MATLAB函数
第四章 內建函數 函數是針對某特定功能所撰寫的程式,利用其固定的名稱執行所需之任務。函數通常可分為內建函數與自訂函數兩大類。內建函數則又視其公用程度而分一般函數與特定函數。目前我們討論者,以一般函數為原則。茲分別作說明:張貼者: Martin Fon 位於 10/20/2006 11:50:00 下午 0 意見 此文章的連結 標籤: Chap4
2009-04-10 20:44:00 7397 1
原创 MATLAB关系控制
前面介紹指令及函數檔的過程中,已陸續介紹一些程式指令之用法及功能。基本上程式是一些指令之集合,執行後可以獲得所希望的結果。複雜的程式則是採用主程式、副程式或函數檔間相互呼叫的方式,由各檔案專司解決特定的功能,如此形成一個程式之大架構。這些程式執行過程中,必須配合執行之中間值,進行比較、判斷,最後得到適當之結果。有些檔案可能需經過多次呼叫,才能達到程式預設之目的;有些則需判斷結果之適當性,依據最佳的
2009-04-10 20:43:00 2218
原创 MATLAB矩阵
Matlab編輯器(editor)功能在於產生可執行之M-檔案,該檔案之執行過程也可以利用這個編輯器偵錯。呼叫編輯器時只要在Matlab主程式之file下,選擇New-->M-file,或選open-->edit即可。其視窗外觀如下圖。此編輯器之優點是它會自動產生行號,並且以不同顏色顯示關鍵字,最重要的功能是它有一邊執行一邊偵錯的功能。在執行過程中,只要在任何行號上設立中斷點,或將滑鼠指向行號
2009-04-10 20:42:00 7649 3
转载 MATLAB简介
如何開始使用MATLAB[1]?實際上只要會在指令窗下鍵入指令即行,當然你先要知道如何將MATLAB安裝及使用。在指令窗之前,要下那些指令似乎也沒多大學問。由於是交談式的環境,任何你想到的指令均可以輸入,輸入錯了,MATLAB會有錯誤的訊息,重新輸入正確的指令就行。若一時不知如何下手,有幾個指令可以作為開場白,諸如demo、help、helpwin、doc、who、what等等指
2009-04-10 20:36:00 3308
原创 Matlab S函数编写
s函数是system Function的简称,用它来写自己的simulink模块。(够简单吧,^_^,详细的概念介绍大伙看帮助吧)可以用matlab、C、C++、Fortran、Ada等语言来写,这儿我只介绍怎样用matlab语言来写吧(主要是它比较简单) 先讲讲为什么要用s函数,我觉得用s函数可以利用matlab的丰富资源,而不仅仅局限于simulink提供的模块,而用c或c++等语言写的
2009-04-10 19:20:00 7298 1
转载 MATLAB常用函数
MATLAB常用函数分类:生活杂记 一、MATLAB常用的基本数学函数 abs(x):纯量的绝对值或向量的长度 angle(z):复数z的相角(Phase angle) sqrt(x):开平方 real(z):复数z的实部 imag(z):复数z的虚部 conj(z):复数z的共轭复数 round(x):四舍五入至最近整数
2009-04-10 19:18:00 3721
转载 MATLAB的简介
MATLAB 是美国MathWorks公司出品的商业数学软件,用于算法开发、数据可视化、数据分析以及数值计算的高级技术计算语言和交互式环境,主要包括MATLAB和Simulink两大部分。 MATLAB是矩阵实验室(Matrix Laboratory)的简称,和Mathematica、Maple并称为三大数学软件。它在数学类科技应用软件中在数值计算方面首屈一指。MATLAB可以进行矩阵运算、
2009-04-10 19:14:00 4331
原创 VC++ Keyboard Input
Keyboard Input This section describes how the system generates keyboard input and how an application receives and processes that input.OverviewsAbout Keyboard InputThis topic discusses
2009-04-08 20:00:00 2613
原创 VC++ Messages and Message Queues
Messages and Message Queues This section describes messages and message queues and how to use them in your applications.OverviewsAbout Messages and Message QueuesThis section discusses W
2009-04-08 19:59:00 2098
原创 VC++ SetMessageExtraInfo
SetMessageExtraInfo FunctionThe SetMessageExtraInfo function sets the extra message information for the current thread. Extra message information is an application- or driver-defined value assoc
2009-04-08 19:57:00 1744
原创 VC++ GetMessageExtraInfo
GetMessageExtraInfo FunctionThe GetMessageExtraInfo function retrieves the extra message information for the current thread. Extra message information is an application- or driver-defined value
2009-04-08 19:55:00 2552
原创 VC++ mouse_event
mouse_event FunctionThe mouse_event function synthesizes mouse motion and button clicks.Windows NT/2000/XP: This function has been superseded. Use SendInput instead.SyntaxVOID mous
2009-04-08 19:54:00 4896
原创 VC++ GetKeyState
GetKeyState FunctionThe GetKeyState function retrieves the status of the specified virtual key. The status specifies whether the key is up, down, or toggled (on, off—alternating each time the ke
2009-04-08 19:52:00 2936 1
原创 VC++ INPUT Structure
INPUT StructureThe INPUT structure is used by SendInput to store information for synthesizing input events such as keystrokes, mouse movement, and mouse clicks.Syntaxtypedef struct t
2009-04-08 19:52:00 1674
原创 VC++ LoadKeyboardLayout
LoadKeyboardLayout FunctionThe LoadKeyboardLayout function loads a new input locale identifier (formerly called the keyboard layout) into the system. Several input locale identifiers can be load
2009-04-08 19:51:00 3270
原创 VC++ MapVirtualKey
MapVirtualKey FunctionThe MapVirtualKey function translates (maps) a virtual-key code into a scan code or character value, or translates a scan code into a virtual-key code. To specify a handl
2009-04-08 19:50:00 4032
原创 VC++ MapVirtualKeyEx
MapVirtualKeyEx FunctionThe MapVirtualKeyEx function translates (maps) a virtual-key code into a scan code or character value, or translates a scan code into a virtual-key code. The function tra
2009-04-08 19:50:00 2791
原创 VC++ keybd-event
keybd_event FunctionThe keybd_event function synthesizes a keystroke. The system can use such a synthesized keystroke to generate a WM_KEYUP or WM_KEYDOWN message. The keyboard drivers interrup
2009-04-08 19:49:00 3043 2
原创 VC++ SetKeyboardState
SetKeyboardState FunctionThe SetKeyboardState function copies a 256-byte array of keyboard key states into the calling threads keyboard input-state table. This is the same table accessed by the
2009-04-08 19:47:00 2993 1
原创 VC++ Virtual-Key Codes
Virtual-Key Codes The following table shows the symbolic constant names, hexadecimal values, and mouse or keyboard equivalents for the virtual-key codes used by the system. The codes are listed
2009-04-08 19:44:00 1977
原创 VC++ GetAsyncKeyState
GetAsyncKeyState FunctionThe GetAsyncKeyState function determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyn
2009-04-08 19:41:00 2270
原创 VC++ UpdateLayeredWindowIndirect
UpdateLayeredWindowIndirect FunctionUpdates the position, size, shape, content, and translucency of a layered window.SyntaxBOOL UpdateLayeredWindowIndirect( HWND hwnd,
2009-04-08 19:40:00 4708 1
原创 VC++ SendInput
SendInput FunctionThe SendInput function synthesizes keystrokes, mouse motions, and button clicks.SyntaxUINT SendInput( UINT nInputs, LPINPUT pInputs, int cbSize
2009-04-08 19:40:00 3397
原创 VC++ Window Styles
Window Styles The following styles can be specified wherever a window style is required. After the control has been created, these styles cannot be modified, except as noted. ConstantsWS_BOR
2009-04-08 19:37:00 3340
qt-win-noncommercial-msvc-3.2.1
2014-09-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人