Loren on the Art of MATLAB

Turn ideas into MATLAB

Results for: 2007

Plotting with Style 65

Posted by Loren Shure,

One of MATLAB's features is being able to customize plots. But some of the customization may not need to be done by hand and can instead be controlled programmatically. Let me show you a set of these having to do... read more >>

Remembering Gene Golub, 1932 – 2007 1

Posted by Loren Shure,

The book Matrix Computations by Gene Golub and Charles Van Loan sits on the bookshelves of many MathWorks employees. Professor Golub, one of the founding members of the Stanford University computer science department, is a revered figure in the area of numerical analysis and matrix computations. ... read more >>

Useful Debugging Commands and Tips 20

Posted by Loren Shure,

In my personal history using computers, I have learned to embrace debuggers to help me understand what's going on in my code.   Contents Short List of Lesser Known Debugging Commands An Example First Experiment Stopping for a Caught Error Common Issues Handy Tip Other Debugging Gotchas and Tips? Short List of Lesser... read more >>

uniquely MATLAB 23

Posted by Loren Shure,

What makes MATLAB unique? You have your choice regarding which element unique returns when there are repeated values in an array. What I wonder about is why it matters. ... read more >>

What Version is Being Used? 4

Posted by Loren Shure,

Sometimes it's important to have code work in multiple releases of MATLAB, while still taking advantage of new features when they exist. In recent articles, I've talked about the MException class and using try/catch. Here's another tool to add to your... read more >>

Exceptional Behavior 18

Posted by Loren Shure,

One of the new features of MATLAB in R2007b is a more robust way to manage and reporting errors. We have found that using an MException object, instead of relying on lasterror, has reduced one sort of coding error. The... read more >>

Tire Rotation 8

Posted by Loren Shure,

If only rotating tires were really this easy! After graduate school, I drove east for my post-doc at Woods Hole Oceanographic Institution. In late winter, I noticed that my tires still had red dust on them from visiting national parks in Utah. So I took a picture ... read more >>