bio_img_loren

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.

Trying to Match Behavior of a New Function to an Existing One 11

We might want to a write a function that mimics the behavior of another related function, specifically with respect to input shapes, etc. Ideally, we'd like to write it so we... 더 읽어보기 >>

How for Works 18

Last week I touched on the difference between using 1:N and [1:N] as the expression in a for statement. I have gotten enough more questions recently on how for works in MATLAB that it... 더 읽어보기 >>

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... 더 읽어보기 >>

When is a Numeric Result Not a Number? 13

Quick answer: when the result is a NaN. Contents NaNs in Arithmetic ... 더 읽어보기 >>