本文档介绍了如何使用各种内嵌工具,函数和其他一些小技巧来加强使用matlab的速度和效率,是广大爱好者必读的文档。具体内容请参阅文档。 Learn how to use the Profiler tool, vectorized functions, and other tricks to writing efficient MATLAB code. This article includes how to convert any array into a column vector, bounding a value without if statements, and repeating/tiling a vector without repmat. Contents: * The Profiler * Array Preallocation * JIT Acceleration * Vectorization * Inlining Simple Functions * Referencing Operations * Numerical Integration * Signal Processing * Miscellaneous Tricks
上传时间: 2013-12-11
上传用户:cuiyashuo
自然对界,Win32平台下的微软C编译器(cl.exe for 80x86)在默认情况下采用如下的对齐规则:任何基本数据类型T的对齐模数就是T的大小,即sizeof(T)。比如对于double类型(8字节),
标签:
上传时间: 2013-12-14
上传用户:vodssv
连接池示例,用一个array存放多个已建立的链接
标签: 连接
上传时间: 2014-01-16
上传用户:源弋弋
This GUI is an updated and enhanced version of the “StructBrowser” utility submitted to MatLab Central in May 2003. It comes with new interface and an enhanced display. It uses Microsoft TreeView control to display and explore any kind of MatLab structures. The CRC ExploreStruct was designed to expose the contents of the array struct to any depth and plot any of the components. This tool is very useful for programmers using structures in their code
标签: StructBrowser submitted enhanced updated
上传时间: 2017-03-05
上传用户:csgcd001
The concept of the Altera Nios II embedded processor implementation inside Field Programmable Gate Array [FPGA] of the CCD camera for the “Pi of the Sky” experiment is presented. The digital board of the CCD camera, its most important components, current implementation of firmware [VHDL] inside the FPGA and the role of external 8051 microcontroller is briefly described. The main goal of the presented work is to get rid of the external microcontroller and to design new system with Nios II processor built inside FPGA chip. Constraints for implementing the design into the existing camera boards are discussed. New possibilities offered by a larger FPGA for next generation of cameras are considered.
标签: implementation Programmable processor embedded
上传时间: 2014-01-02
上传用户:dyctj
:文章针对目前数字信号处理中大量采用的快速傅立叶变换[FFT] 算法采用软件编程来处理的应用现状,在对FFT 算法进行 分析的基础上,给出了用FPGA[Field Programmable Gate Array] 实现的8 点32 位FFT 处理器方案,并得到了系统的仿真结果。 最后在Altera 公司FLEX10K系列FPGA 芯片上成功地实现了综合。
标签: Programmable FFT Field FPGA
上传时间: 2017-03-09
上传用户:jyycc
用两个数组实现的基数排序方法,时间为(array.length)的平方
上传时间: 2017-03-10
上传用户:yuanyuan123
The AT24C512 provides 524,288 bits of serial electrically erasable and programmable read only memory (EEPROM) organized as 65,536 words of 8 bits each. The device鈥檚 cascadable feature allows up to four devices to share a common two-wire bus. The device is optimized for use in many industrial and commercial applications where lowpower and low-voltage operation are essential. The devices are available in spacesaving 8-pin PDIP, 8-lead EIAJ SOIC, 8-lead JEDEC SOIC, 8-lead TSSOP, 8-lead Leadless Array (LAP), and 8-lead SAP packages. In addition, the entire family is available in 2.7V (2.7V to 5.5V) and 1.8V (1.8V to 3.6V) versions.
标签: electrically programmable provides erasable
上传时间: 2017-04-09
上传用户:cc1015285075
FIBPlus is a component suite intended for work with InterBase. It is direct, fast and flexible InterBase connectivity for Delphi, C++ Builder, Ada and Kylix. FIBPlus supports Delphi 5-7, Delphi 2005, Delphi 2006, Delphi 2007, C++ Builder 5-6, C++ Builder 2006, C++ Builder 2007, Kylix 3, gnat-3.15p, gnat2006 GPL, and all versions of InterBase 4.x-7.x, InterBase 2007 and Firebird 1.x-2.x. Using FIBPlus in your applications you do not need to install any additional software except for InterBase Client Software. FIBPlus supports all special InterBase features such as array-fields, event alerters, BLOB-fields, etc. FIBPlus is a native component set and its evaluation versions are distributed partially in sources. Registering FIBPlus you get full sources of components and technical support
标签: component InterBase intended flexible
上传时间: 2013-12-01
上传用户:xuan‘nian
procedure senddata var i:integer commflg : Boolean begin commflg:=true for i:=1 to 8 do begin if not fcomm comml writecommdata(sendbutter,i) then begin Commflg=false break end end end (4) 接收数据 在编写基于串口的计算机工业测控时,通常需要由下位机向PC机发送数据以使PC机了解系统的测试数据或下位机的运行状态,并进而控制下位机的行为。利用Spcomm串口控件接收下位机发送的数据信息的示例代码如下: //事件驱动方式接收数据程序 procedure TForm1.CommlReceiveData(Sender:Tobject Buffer:Pointer bufferLength:Word) var receivedata:array of byte begin sleep(100) //等待100ms,保证接收到所有数据 move(buffef ,receivedata,bufferlength) //将接收缓存区中的数据转移到数组中 …… end (5) 关闭串口 在系统开发中,应注意在不使用串口时应及时关闭串口,释放系统资源,否则可能会影响系统的其它应用。关闭串口的代码如下: procedure TForm1.FormClose ( Sender TObj ect:var Action:TCIoseAction ) begin comml.StopComm end
标签: commflg procedure senddata integer
上传时间: 2014-01-26
上传用户:懒龙1988