Update (2025): Looking for the latest techniques for making pretty graphics? Check out our 2025 revisit of this article in the Graphics and App Building blog, featuring modern approaches and... 続きを読む >>
Note
Loren on the Art of MATLAB has been archived and will not be updated.
Update (2025): Looking for the latest techniques for making pretty graphics? Check out our 2025 revisit of this article in the Graphics and App Building blog, featuring modern approaches and... 続きを読む >>
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... 続きを読む >>
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... 続きを読む >>
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... 続きを読む >>
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... 続きを読む >>
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 ... 続きを読む >>
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... 続きを読む >>
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... 続きを読む >>
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... 続きを読む >>
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... 続きを読む >>