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.

Working with Arrays of Structures 30

Though I have covered this topic somewhat in the past, it seems like a good time to refresh the information. There are recent posts on the MATLAB newsgroup relating to this... read more >>

Some Ways to Create Function Handles 36

I recently was asked the best way to create function handles, given the names of functions. This came up because I recommended that we should generally remove instances of... read more >>

All about the Colon Operator 19

I have written several blog articles that cover some aspects of the : operator. Based on some recent posts to the MATLAB newsgroup, it seems worthwhile for me to compile the... read more >>

Bottom Line on Logical 14

I just posted a blog on logical operator behavior in MATLAB and I want to be clear about the bottom line. Use the newer MATLAB operators || and &&, in the context of expressions for if and... read more >>

A Logical Story 7

Let me set the stage for today's blog. Logical variables have been part of MATLAB from the early days. They are particularly useful in constructs involved flow-of-control,... read more >>