bio_img_loren

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

結果: Best Practice

Making Pretty Graphs 101

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... 続きを読む >>

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... 続きを読む >>

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... 続きを読む >>

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... 続きを読む >>

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... 続きを読む >>

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 ... 続きを読む >>

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... 続きを読む >>

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... 続きを読む >>

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... 続きを読む >>

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... 続きを読む >>

Posts 41 - 50 of 66