
459
9
Memory-Related Techniques
In many programming languages and platforms, memory considerations have an impact
on performance. MATLAB is not different in this regard. In fact, since MATLAB’s pro-
cessing often involves large data objects, the memory effect is especially important in
MATLAB.
This chapter provides some insight as to how MATLAB arranges its internal memory
and how we can use this information to our performance advantage. The chapter will also
show how to prole and isolate memory issues.
9.1 Why Memory Affects Performance
No program code can execute without accessing memory. This is necessary for storing
variable data, which is t ...