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.

Posts 501 - 510 of 539

A Glimpse into Floating-Point Accuracy 31

There are frequent posts on the MATLAB newsgroup as well as lots of questions posed to Technical Support about the floating point accuracy of MATLAB. Many people think they ... 続きを読む >>

Handle This! 11

I recently got a great request from a reader to discuss the various kinds of entities in MATLAB attached to the word handle. I want to talk about the parallels and differences of three... 続きを読む >>

Essence of Indexing 14

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... 続きを読む >>

Processing a Set of Files 14

There continue to be questions on the MATLAB newsgroup regarding processing a set of files. So, for the record, and even though Steve covered this topic in his blog, I thought I'd get... 続きを読む >>

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 ... 続きを読む >>

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... 続きを読む >>

Cell Arrays and Their Contents 117

I've written several blog articles so far on structures, and not quite so much on their soulmates, cell arrays. Just last week, at the annual MathWorks Aerospace Defense Conference (MADC), I had... 続きを読む >>

Posts 501 - 510 of 539

これらの投稿は著者に属するものであり、必ずしも MathWorks の見解を示すものではありません。