Writing Fast MATLAB Code

バージョン (328 KB) 作成者: Pascal Getreuer
Speed up your project with this collection of techniques.

ダウンロード 80K 件

更新 2009/2/10


編集メモ: This file was selected as MATLAB Central Pick of the Week Popular File 2008

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.

* Introduction
* The Profiler
* Array Preallocation
* JIT Acceleration
* Vectorization
* Inlining Simple Functions
* Referencing Operations
* Solving Ax=b
* Numerical Integration
* Signal Processing
* Miscellaneous Tricks
* Further Reading


Pascal Getreuer (2022). Writing Fast MATLAB Code (https://www.mathworks.com/matlabcentral/fileexchange/5685-writing-fast-matlab-code), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2008b
Windows macOS Linux

ヒントを与えたファイル: Guidelines for writing clean and fast code in MATLAB

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!