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 471 - 480 of 539

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 >>

Selecting Data and Surrounding Values 6

I recently was working with Dave Schoppik on extracting a subset of elements from his dataset. In his lab, they work to understand
the ways our brains enable us to move. Here's Dave's description.
... read more >>

More MATLAB Gotchas 12

I recently wrote an article on Beginner Woes, and I thought I would add some more gotcha topics today. Contents ... read more >>

R2007a Released 35

Release 2007a came out today. This corresponds to MATLAB version 7.4. I will list here a few of my favorite new MATLAB features. I will discuss some of them in future... 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 >>

Beginner Woes 15

There are a few pitfalls that new users of MATLAB almost always fall into, depending on their applications. I thought it might be nice to summarize a few of them here,... 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 >>

Calendars and Leap Years 5

I'm pleased to introduce Ned Gulley as this week's guest blogger. Ned is a software developer with an amateur's interest in astronomy. He was motivated by a recent discussion... read more >>

Posts 471 - 480 of 539

These postings are the author's and don't necessarily represent the opinions of MathWorks.