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 11 - 20 of 26

結果: Vectorization

Calculus with Empty Arrays 24

MATLAB has had empty arrays since before I started using the program. When I started, the only size empty array was 0x0. When version 5 was released, empty arrays came along for the... 続きを読む >>

A Brief History of polyval 4

When I first started working at MathWorks, there were already a few functions in MATLAB for working with polynomials. One of these, polyval, for polynomial evaluation, used... 続きを読む >>

More Ways to Find Matching Data 55

Today on the newsgroup, a user wanted help finding when values in a matrix matched some other values (see the post). There was already a solution posted when I was reading, but something... 続きを読む >>

Vectorizing the Notion of Colon (:) 14

The other day, one of my MathWorks buddies, Peter, asked me if I knew any tricks for vectorizing the notion of the colon (:) operator. For me, this sort of inquiry sometimes has an... 続きを読む >>

Speeding Up MATLAB Applications 25

Today I’d like to introduce a guest blogger, Sarah Wait Zaranek, who is an application engineer here at The MathWorks. Today she talks about speeding up code from a customer to get... 続きを読む >>

Structure Initialization 50

This post continues in the theme of other recent ones, questions frequently posed to me (and probably others). It has to do with initializing structures. There is a healthy... 続きを読む >>

Vectorizing Access to an Array of Structures 40

Though I have written about this topic before, I continue to get questions on working with arrays of structures. So I thought I would focus on that alone today. ... 続きを読む >>

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

Brief History of Nonnegative Least Squares in MATLAB 12

In my first year at MathWorks (1987!), a professor I know got in touch with me. He was trying to solve a least squares problem with nonnegativity constraints. Having been... 続きを読む >>

Let Me Count the Ways 9

In the course of many applications, we sometimes need to tally up counts for different purposes, e.g., investigating the distribution of some data or equalizing gray tones in... 続きを読む >>

Posts 11 - 20 of 26