Loren on the Art of MATLAB

Long-term Analysis of the S&P 500 6

Posted by Loren Shure,

Here at the MathWorks we have a great staff to support the financial industry. We also have our fair share of DIYers who like to follow the market and manage their own investments, such as this edition's guest blogger, Steve Cruickshank, an admitted "cocktail party economist".... read more >>

Arithmetic Associativity – Not So Fast 7

Posted by Loren Shure,

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

Coding Best Practices – A Good Read 7

Posted by Loren Shure,

I have written blogs before on coding best practices in MATLAB and they have always generated a lot of great feedback. I recently came across a language-neutral list of best practices for scientific computing, written by Greg Wilson of Software Carpentry.... read more >>

These postings are the author's and don't necessarily represent the opinions of MathWorks.