Loren on the Art of MATLAB

Turn ideas into MATLAB

Note

Loren on the Art of MATLAB has been archived and will not be updated.

Posts 11 - 16 of 16

Results for: Memory

What Are You Really Measuring? 9

I had an interesting encounter with a colleague, Bob, last week. We were talking about timing some calculations and we realized that the written code was actually measuring... read more >>

Memory Management for Functions and Variables 68

People have different ideas about what costs a lot, in terms of memory, in MATLAB. And sometimes people don't know the details. Today I am going to talk about when MATLAB... read more >>

More on expansion: arrayfun 11

Since there seems to be so much interest in the topic of going beyond scalar expansion, it seems worth talking about yet some other ways to achieve the same goals. I am very appreciative of the... read more >>

Scalar Expansion and More 31

pre.codeinput { background: #F9F7F3; padding: 10px; border: 1px solid rgb(200,200,200); } @media print { pre.codeinput {word-wrap:break-word; width:100%;} } span.keyword... read more >>

Use nested functions to memoize costly functions 27

Some languages provide ways to store results of costly calculations so if the calculation had been performed before, it need not be repeated when requested later. There is a way to accomplish this... read more >>

Inverting Logic in an Algorithm 7

A while ago, a colleague needed to use the sinc function to interpolate some channel data posted by the IEEE 802.15.3a working group. The files they supplied were large and the interpolation took a... read more >>

Posts 11 - 16 of 16