Loren on the Art of MATLAB

Turn ideas into MATLAB

Results for: Efficiency

High Performance File I/O 6

Posted by Loren Shure,

Today I'd like to tell you how you might improve the performance of reading and writing files using MATLAB's low-level file i/o functions. The key here is to disable the automated buffer flushing. ... read more >>

Scalar Expansion and More 31

Posted by Loren Shure,

Last week I received email from a blog reader asking about extending the meaning of the arithmetic operators to do more than scalar expansion, and instead extend the expansion to singleton dimensions. In this post, I discuss the evolution of scalar expansion in MATLAB, talk about possible future designs, ... read more >>

Existence in MATLAB 12

Posted by Loren Shure,

exist can be called with one argument (a string) to test if that specific name is known and available in MATLAB in any form. If we program carefully and check the output result of exist, then we can be sure we know whether we are dealing with a MATLAB... read more >>