Writing Fast MATLAB Code

所需积分/C币:14 2009-04-02 18:01:31 184KB APPLICATION/PDF
收藏 收藏

MATLAB is a popular programming language for its simplicity and broad range of tools for topics like signal procesing, statistics, di erential equations, and of course, matrices. Users can easily add their own m- le functions for speci c applications, further extending MATLAB's usefulnes. However,the MATLAB programming language is parsed{codeisinterpretedandtranslatedintocom- puter operations in realtime { where faster languages like C/C++ are compiled ahead of time into the computer'snativelanguage. Someadvantagestoparsinginrealtimearegreaterplatformindependence, robustnes, andeasierdebugging. (AlsonotethatMATLAB's\eval"functionhasnoC++equivalent.) The disadvantage of parsing in realtime is signi cant los in sped, as wel as increased overhead and les low-level control. To compensate, MATLAB o ers means to help sped up code. This article discuses these and other strategies to improving the sped of MATLAB code.  The Pro ler tool  Aray prealocation  Vectorized computation

试读 17P Writing Fast MATLAB Code
限时抽奖 低至0.43元/次
身份认证后 购VIP低至7折
关注 私信
Writing Fast MATLAB Code 14积分/C币 立即下载
Writing Fast MATLAB Code第1页
Writing Fast MATLAB Code第2页
Writing Fast MATLAB Code第3页
Writing Fast MATLAB Code第4页

试读结束, 可继续读2页

14积分/C币 立即下载