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