Loren on the Art of MATLAB

Turn ideas into MATLAB

Results for: Uncategorized

Arithmetic Associativity – Not So Fast 7

Arithmetic is associative, right? Well, in the world of paper and pencil, where you can often do calculations exactly, that can be true. However, in the computing world, where real numbers can't always be represented exactly because of working with finite precision datatypes, it turns out that you can't depend on the arithmetic to behave the way you were taught in grade school.... read more >>

MATLAB Language Translator 19

Google recently made a splash about its e-api-tools-for.html latest language tools. Translating one computer language to another is useful but passé. But suppose you could translate a computer... read more >>

GOTO Humor

GOTO Humor For those of you who wonder why MATLAB does not have a goto statement, you might look at this cartoon in addition to reading an earlier blog article I wrote. I am amused to see... read more >>

Vectorized goto in MATLAB 26

Customers have long asked for a GOTO statement in MATLAB to allow them to use programming constructs familiar to them from other languages they already know. I am pleased to announce that a proposal... read more >>

Introduction 8

One of my favorite things about MATLAB is that I can write a mathematical algorithm using the same notation appearing in a technical book or paper. For algorithms that are naturally matrix-based,... read more >>