Loren on the Art of MATLAB

Turn ideas into MATLAB

Results for: Vectorization

Inverse Mapping (update) 3

In a follow up comment to the inverse mapping post, Lucio noted that loopFR could be fully vectorized and he is right. Rather than update that post directly, I thought I republish the loop-free code here and compare times again. ... read more >>

Scalar Expansion and More 31

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 >>