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 61

Results for: Less Used Functionality

Numbered Argument Specification for Print Functions 4

Since MATLAB Release R2007a, you've been able to number the arguments for functions that format strings. With this feature,
you can refer to the values that correspond to the different arguments in... read more >>

Reversal of a sort 24

We can sometimes be motivated to reverse things in Boston. And I occasionally get asked how to reverse the sort direction from MATLAB. So instead of sorting A and then having B follow... read more >>

Iterating over Non-Numeric Values 25

Recently a colleague was hoping to write some code to iterate over fields in a structure. There are at least three different ways I can think of, some more straight-forward... read more >>

Monitoring Progress of a Calculation 38

Users sometimes want to monitor the progress of some calculation or simulation. Here's a recent example from the MATLAB newsgroup. Contents ... read more >>

Assignment with Repeated Indices 15

I have had customers ask me occasionally about what happens during an indexed assignment when indices are repeated. The answer is that it depends on how you do the... read more >>

Creating Sparse Finite-Element Matrices in MATLAB 49

I'm pleased to introduce Tim Davis as this week's guest blogger. Tim is a professor at the University of Florida, and is the
author or co-author of many of our sparse matrix functions (lu, chol,... read more >>

Reordering Arrays 11

There are some cases, particularly simulations, in which we need to choose a few items from a finite list. A friend mentioned to me that he was doing a Monte Carlo... read more >>

String Annotations for Plots 16

Did you know that you can customize the direction of text in MATLAB plots? There are times when such annotations work better than if they were purely horizontal or... read more >>

Multiple Outputs 37

I just had an interesting exchange with a customer. He was trying to have an anonymous function return multiple outputs. Contents ... read more >>

Colormap Manipulations 14

We use color as a dimension to understand the world. For some datasets, judicious choice of colormaps provides a useful means for gleaning information. ... read more >>

Posts 41 - 50 of 61