Loren on the Art of MATLAB

Turn ideas into MATLAB

Results for: New Feature

Memoize Functions in MATLAB 8

Very early on in this blog (2006!), I wrote a post on memoizing functions, i.e., caching results so outputs that have already been calculated don't need to be calculated again (code included at the end of this post). Memoization can provide a significant performance boost especially if the function in... read more >>