Be the first to rate this file! 4 Downloads (last 30 days) File Size: 383 KB File ID: #16034
image thumbnail

Programming Patterns: Maximizing Code Performance by Optimizing Memory Access

by Linda Webb

 

21 Aug 2007 (Updated 21 Aug 2007)

Improve memory usage and increase code speed by understanding how MATLAB stores and accesses data.

| Watch this File

File Information
Description

“Most MATLAB users want their code to be fast, especially when it is processing very large data sets. Because memory performance has not increased at the same rate as CPU performance, code today is often “memory-bound,” its overall performance limited by the time it takes to access memory.
Fortunately, with a little knowledge of how MATLAB stores and accesses data, you can avoid inefficient memory usage and improve the speed of your code.
This article describes three ways to improve the performance of memory-bound code…”

By Stuart McGarrity, The MathWorks

This article appeared in The MathWorks News & Notes, June 2007, which you can read at
http://www.mathworks.com/company/newsletters/?s_cid=nws_flex

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
article, faster, maximize, memory, optimize, paper, performance, preallocate arrays, whitepaper
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Contact us