Accelerating MATLAB Performance - Yair M. Altman

Accelerating MATLAB Performance

Yair M. Altman

出版时间

2014-12-11

ISBN

9781482211290

评分

★★★★★
书籍介绍

Features

Demonstrates how to improve MATLAB® speed in many different ways

Shows how to profile MATLAB code to identify performance hotspots

Discusses various tradeoffs in MATLAB performance tuning

Addresses vectorization, parallelization, distributed computing, caching, optimization, memory management, GUI, graphics, and I/O

Explains using GPU, MEX, MATLAB toolboxes and external libraries

Contains programming tips useful to novices and professionals alike

Includes thousands of tips, code examples, and online references

Supported by an active website

Summary

The MATLAB® programming environment is often perceived as a platform suitable for prototyping and modeling but not for "serious" applications. One of the main complaints is that MATLAB is just too slow.

Accelerating MATLAB Performance aims to correct this perception by describing multiple ways to greatly improve MATLAB program speed. Packed with thousands of helpful tips, it leaves no stone unturned, discussing every aspect of MATLAB.

Ideal for novices and professionals alike, the book describes MATLAB performance in a scale and depth never before published. It takes a comprehensive approach to MATLAB performance, illustrating numerous ways to attain the desired speedup.

The book covers MATLAB, CPU, and memory profiling and discusses various tradeoffs in performance tuning. It describes both the application of standard industry techniques in MATLAB, as well as methods that are specific to MATLAB such as using different data types or built-in functions.

The book covers MATLAB vectorization, parallelization (implicit and explicit), optimization, memory management, chunking, and caching. It explains MATLAB’s memory model and details how it can be leveraged. It describes the use of GPU, MEX, FPGA, and other forms of compiled code, as well as techniques for speeding up deployed applications. It details specific tips for MATLAB GUI, graphics, and I/O. It also reviews a wide variety of utilities, libraries, and toolboxes that can help to improve performance.

Sufficient information is provided to allow readers to immediately apply the suggestions to their own MATLAB programs. Extensive references are also included to allow those who wish to expand the treatment of a particular topic to do so easily.

Supported by an active website, and numerous code examples, the book will help readers rapidly attain significant reductions in development costs and program run times.

目录
Table of Contents
1. Introduction to Performance Tuning
1.1 Why Should We Bother?
1.2 When to Performance-Tune and When Not to Bother
1.3 The Iterative Performance Tuning Cycle

显示全部
用户评论
这书写的有点啰嗦,不过基础一般的可以作为手册查一些。 也可以顺带知道主要用来做数据处理的脚本编程的时候,需要知道的一些通用原则。 话说随着python流行,传统数据分析巨头确实会被挤占很多份额,不过py因为是“完整”编程语言,所以用各种库来做扩展。 不过matlab的字符处理,真心是太low了,升级下把char作为string等价会方便很多处理,还有日期的处理,这简直被R等鄙视为繁琐,不过考虑到本来就是做矩阵运算的,就不能要求更多了。 掌握了向量&矩阵运算,熟悉matlab自身的编程原则,其实写传统意义上的代码还是很不错从。 不过不支持函数化,简直不能忍啊,哪怕搞个语法糖类型的lambda也方便很多,不然要新建文件来搞,多麻烦。总之,建议matlab要找个好点的做编译研究的人去升级下
Many useful tricks and advanced features for improving MATLAB performance.
Z-Library
收藏