Tag Archives: Performance

Preallocation performance

Preallocation is a standard Matlab speedup technique. Still, it has several undocumented aspects.

Categories: Low risk of breaking in future versions, Memory, Stock Matlab function, Undocumented feature
Tags: , , , ,
9 Comments

Profiling Matlab memory usage

mtic and mtoc were a couple of undocumented features that enabled users of past Matlab releases to easily profile memory usage.

Categories: High risk of breaking in future versions, Memory, Stock Matlab function, Undocumented function
Tags: , , ,
2 Comments

Matlab mex in-place editing

Editing Matlab arrays in-place can be an important technique for optimizing calculations. This article shows how to do it using Mex.

Categories: Guest bloggers, High risk of breaking in future versions, Memory, Mex, Stock Matlab function, Undocumented feature
Tags: , , , ,
7 Comments

Matlab-Java memory leaks, performance

Internal fields of Java objects may leak memory – this article explains how to avoid this without sacrificing performance.

Categories: Java, Low risk of breaking in future versions, Memory, Semi-documented feature, Stock Matlab function
Tags: , , ,
20 Comments

Converting Java vectors to Matlab arrays

Converting Java vectors to Matlab arrays is pretty simple – this article explains how.

Categories: Java, Low risk of breaking in future versions
Tags: , ,
1 Comment

datestr performance

Caching is a simple and very effective means to improve code performance, as demonstrated for the datestr function.

Categories: Low risk of breaking in future versions, Stock Matlab function
Tags: ,
5 Comments