Loren on the Art of MATLAB

Turn ideas into MATLAB

Note

Loren on the Art of MATLAB has been archived and will not be updated.

Posts 41 - 50 of 66

Results for: Best Practice

Making Pretty Graphs 101

Today I’d like to introduce a guest blogger, Jiro Doke (email: Jiro.Doke@mathworks.com), who is an applications engineer here at The MathWorks. He used MATLAB in his life prior to The MathWorks, and... read more >>

Useful Debugging Commands and Tips 20

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... read more >>

Defensive GUI Programming 33

Today I want to talk a little bit about defensive programming for GUIs (graphical user interfaces) and other programs with
graphics callbacks.
 
Contents

What Can Go Wrong
Don't Depend on... read more >>

How to Safely Try Unknown Code 4

In my recent post on MExceptions, a user asked if a syntax error inside a function being called in a try/catch would get caught in older versions of MATLAB. I've done a tiny bit of... read more >>

Exceptional Behavior 18

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... read more >>

Controlling Multithreading 31

With Release R2007b, you now have the ability to set (and get) the maximum number of allowed threads. What does this mean for you? Contents ... read more >>

Make Code N-D Safe 4

I've recently been asked some questions about programming safely to account for N-dimensional data. Techniquest that are tried-and-true for two dimensions don't all scale to N... read more >>

sum Things to Consider 16

I was just helping someone debug a piece of code that was giving an incorrect answer. The code returned an output with a shape different than the coder expected. I... read more >>

Purpose of inv 33

I have received comments from several savvy customers suggesting that we remove the function inv from MATLAB. The reasons are because people who don't know enough numerical analysis... read more >>

In-place Operations on Data 45

Recently I mentioned that I would describe a relatively new optimization we have for MATLAB code that allows some function calls to operate on variables without allocating more... read more >>

Posts 41 - 50 of 66