Loren on the Art of MATLAB

Turn ideas into MATLAB

Results for: Vectorization

Essence of Indexing 14

Posted by Loren Shure,

Indexing into arrays allows you to address portions of the elements of an array and treat this subset as an array itself, whether for calculations or input to other functions (essentially a right-hand side) or for assignment (left-hand side). ... read more >>

Inverse Mapping (update) 3

Posted by Loren Shure,

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