Loren on the Art of MATLAB

Turn ideas into MATLAB

Results for: Best Practice

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

Debugging Approaches 11

Posted by Loren Shure,

There are lots of posts on the MATLAB newsgroup asking questions like why do I get this error "xxx"? One of the most common answers shows users how to track down the information for themselves. ... read more >>