matlab教程 pdf l了解MATLAB的基本知識 l熟悉MATLAB的上機環境 l掌握利用MATLAB進行基本運算的方法 l初步具備將一般數學問題轉化成對應的計算機模型并進行處理的能力 l1.1 科學工程計算與MATLAB l1.2 基本運算功能 l1.3 基本數據類型 l1.4 數學函數 科學研究和工程實踐中的計算問題簡單問題:計算器或直接手工推導復雜問題:計算機編程計算機編程高級編程語言 Microsoft: Visual C++、Visual BasicBorland: Delphi、C++BuilderSun: Java科學計算軟件工具MathWorks: MATLAB
上傳時間: 2013-11-01
上傳用戶:ljj722
AT89C2051驅動步進電機的電路和源碼:AT89C2051驅動步進電機的電路和源碼 程序:stepper.c stepper.hex/* * STEPPER.C * sweeping stepper's rotor cw and cww 400 steps * Copyright (c) 1999 by W.Sirichote */#i nclude c:\mc5151io.h /* include i/o header file */ #i nclude c:\mc5151reg.hregister unsigned char j,flag1,temp; register unsigned int cw_n,ccw_n;unsigned char step[8]={0x80,0xc0,0x40,0x60,0x20,0x30,0x10,0x90} #define n 400/* flag1 mask byte 0x01 run cw() 0x02 run ccw() */main(){ flag1=0; serinit(9600); disable(); /* no need timer interrupt */ cw_n = n; /* initial step number for cw */ flag1 |=0x01; /* initial enable cw() */while(1){ { tick_wait(); /* wait for 10ms elapsed */energize(); /* round-robin execution the following tasks every 10ms */ cw(); ccw(); } }}cw(){ if((flag1&0x01)!=0) { cw_n--; /* decrement cw step number */ if (cw_n !=0) j++; /* if not zero increment index j */ else {flag1&=~0x01; /* disable cw() execution */ ccw_n = n; /* reload step number to ccw counter */ flag1 |=0x02; /* enable cww() execution */ } }
上傳時間: 2013-11-21
上傳用戶:boyaboy
51單片機驅動步進電機(含電路圖和源程序代碼) 源程序:stepper.c stepper.hex /* * STEPPER.C * sweeping stepper's rotor cw and cww 400 steps * Copyright (c) 1999 by W.Sirichote */ #i nclude c:\mc5151io.h /* include i/o header file */ #i nclude c:\mc5151reg.h register unsigned char j,flag1,temp; register unsigned int cw_n,ccw_n; unsigned char step[8]={0x80,0xc0,0x40,0x60,0x20,0x30,0x10,0x90} #define n 400 /* flag1 mask byte 0x01 run cw() 0x02 run ccw() */
上傳時間: 2013-11-09
上傳用戶:釣鰲牧馬
本書介紹了數字信號處理中用到的MATLAB處理技巧,推薦給大家。
上傳時間: 2013-10-21
上傳用戶:31633073
利用Matlab里自帶的DSP模塊生成CCS的Projects的詳細操作
上傳時間: 2013-11-12
上傳用戶:stampede
數字信號處理及其Matlab實現
上傳時間: 2013-11-21
上傳用戶:blans
GPS用戶位置求解Matlab仿真121118
上傳時間: 2013-11-01
上傳用戶:lilei900512
摘 要 瞬態仿真領域的許多工作需要獲得可視化數據, 仿真電路不能將輸出參數繪制成圖形時研究工作將受到很大影響. 而權威電路仿真軟件PSpice 在這個方面不盡如人意. 本文提出了一種有效的解決辦法: 通過MATLAB 編程搭建一個PSpice 與MATLAB 的數據接口,使PSpice輸出數據文件可以導入到MATLAB中繪制圖形. 這令我們能夠很方便地獲得數據的規律以有效地分析仿真結果, 這項技術對于教學和工程實踐都有比較實際的幫助.關鍵詞: 瞬態仿真 仿真程序 PSpice MATLAB 可視化數據The Data Transfer from Pspice to MATLABWu hao Ning yuanzhong Liang yingAbstract Many works in the area of transient simulation has shown how a emulator such asPSpice can be interfaced to an control analysis package such as MATLAB to get viewdata. Thepaper describes how such interfaces can be made using the MATLAB programming. The platformas a typical platform will solve the problem that PSpice software sometimes can not draw the datato a picture. It can make us find the rule from numerous data very expediently, so we can analyzethe outcome of the simulation. And it also can be used in the field of education.Keywords Transient Simulation Emulator PSpice MATLAB Viewdata1 引言科學研究和工程應用常需要進行電路仿真 PSpice可進行直流 交流 瞬態等基本電路特性分析 也可進行蒙托卡諾 MC 統計分析 最壞情況 Wcase 分析 優化設計等復雜電路特性分析 它是國際上仿真電路的權威軟件 而MATLAB的主要特點有 高效方便的矩陣和數組運算 編程效率高 結構化面向對象 方便的繪圖功能 用戶使用方便 工具箱功能強大 兩者各有著重點 兩種軟件結合應用 對研究工作有很重要的意義香港理工大學Y. S. LEE 等人首先將PSpice和MATLAB結合 開發了電力電子電路優化用的CAD 程序MATSPICE[6] 將兩者相結合的關鍵在于 如何用MATLAB 獲取PSpice的仿真數據 對此參考文獻 6 里沒有詳細敘述 本文著重說明用MATLAB 讀取PSpice仿真數據的具體方法本論文利用MATLAB對PSpice仿真出的數據處理繪制出后者無法得到或是效果不好的仿真圖形 下面就兩者結合使用的例子 進行具體說明
上傳時間: 2013-10-20
上傳用戶:wuchunzhong
MATLAB及其在FPGA中的應用(第2版)本書緊密結合作者在MATIAB和FPGA應用領域中的實際經驗,講述了MATIAB的基本使用方法及其在FPGA設計中的應用。書中略去對MATIAB和FPGA的一般性介紹,以大量設計實例為切入點,將MATIAB強大的數值計算和算法仿真功能與當今電子設計領域快速發展的FPGA設計技術相結合,重點講述了FPGA設計中的MATLAB聯合仿真問題,最后以三個大型設計實例結束全書的討論。 目錄
上傳時間: 2013-11-15
上傳用戶:雨出驚人love
MATLAB及其在FPGA中的應用(第2版)
上傳時間: 2013-11-01
上傳用戶:wettetw