Loren on the Art of MATLAB

Turn ideas into MATLAB

Results for: Best Practice

Save Yourself! 5

Posted by Loren Shure,

Today I am going to talk a little about code development and appropriate hygiene that goes with it. Why? Well, have you ever ended up with a really sick feeling after spending hours on something, only to realize that it's been deleted? It's happened to me, but never again!... read more >>

An Old Adage in MATLAB 2

Posted by Loren Shure,

I have to admit, I enjoy puns and plays on words of almost any kind. As I was driving to work this morning, I was thinking about the MATLAB function eval. And something just clicked for me. I am sure the person sitting in the car beside me at the light thought I was crazy.... 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 >>

Best Practices for Programming MATLAB 56

Posted by Loren Shure,

I thought I would share my top goto list of things I try to do when I write MATLAB code. And checking with other MathWorks folks whose code I admire, I found they basically used the same mental list that I use.... read more >>

Book Review: The Elements of MATLAB Style 7

Posted by Loren Shure,

I've recently been offered the opportunity to review a new book, The Elements of MATLAB Style by contributor to the FEX, Richard K. Johnson. It's a great opportunity for me to see what's important in the eyes of one particular prolific MATLAB user. And it's a ... read more >>