Published


Vectorizing Access to an Array of Structures
Though I have written about this topic before, I continue to get questions on working with arrays of...

19 years ago

Thumbnail

Published


Machine-Independent Filenames
When developing applications is MATLAB, I often find myself interacting with files, sometimes data, sometimes...

19 years ago

Thumbnail

Published


2007 MATLAB World Tour
I just wanted to point out to you that MATLAB is going on a roadtrip this year. Contents ...

19 years ago

Thumbnail

Published


In-place Operations on Data
Recently I mentioned that I would describe a relatively new optimization we have for MATLAB code that allows...

19 years ago

Thumbnail

Published


Selecting Data and Surrounding Values
I recently was working with Dave Schoppik on extracting a subset of elements from his dataset. In his lab, they work to...

19 years ago

Thumbnail

Published


More MATLAB Gotchas
I recently wrote an article on Beginner Woes, and I thought I would add some more gotcha topics today. ...

19 years ago

Thumbnail

Published


R2007a Released
Release 2007a came out today. This corresponds to MATLAB version 7.4. I will list here a few of my favorite new MATLAB...

19 years ago

Thumbnail

Published


Creating Sparse Finite-Element Matrices in MATLAB
I'm pleased to introduce Tim Davis as this week's guest blogger. Tim is a professor at the University of Florida, and is...

19 years ago

Thumbnail

Published


Beginner Woes
There are a few pitfalls that new users of MATLAB almost always fall into, depending on their applications. I...

19 years ago

Thumbnail

Published


Reordering Arrays
There are some cases, particularly simulations, in which we need to choose a few items from a finite list. A...

19 years ago

Thumbnail

Published


String Annotations for Plots
Did you know that you can customize the direction of text in MATLAB plots? There are times when such annotations work...

19 years ago

Thumbnail

Published


Multiple Outputs
I just had an interesting exchange with a customer. He was trying to have an anonymous function return...

19 years ago

Thumbnail

Published


Calendars and Leap Years
I'm pleased to introduce Ned Gulley as this week's guest blogger. Ned is a software developer with an amateur's...

19 years ago

Thumbnail

Published


Colormap Manipulations
We use color as a dimension to understand the world. For some datasets, judicious choice of colormaps provides...

19 years ago

Thumbnail

Published


Class Initialization for Variables
A while ago, I wrote an article sharing some ideas for Programming for Multiple Datatypes. Recently, a...

19 years ago

Thumbnail

Published


Displaying Numbers in MATLAB
The way MATLAB displays numbers sometimes confuses users. Occasionally someone posts a concern to the MATLAB...

19 years ago

Thumbnail

Published


Finding Strings
Over the years, MATLAB has become a friendlier environment for working with character information. MATLAB has...

19 years ago

Thumbnail

Published


Brief History of Nonnegative Least Squares in MATLAB
In my first year at MathWorks (1987!), a professor I know got in touch with me. He was trying to solve a least...

19 years ago

Thumbnail

Published


Let Me Count the Ways
In the course of many applications, we sometimes need to tally up counts for different purposes, e.g.,...

19 years ago

Thumbnail

Published


Working with Arrays of Structures
Though I have covered this topic somewhat in the past, it seems like a good time to refresh the information. ...

19 years ago

Thumbnail

Published


Some Ways to Create Function Handles
I recently was asked the best way to create function handles, given the names of functions. This came up...

19 years ago

Thumbnail

Published


All about the Colon Operator
I have written several blog articles that cover some aspects of the : operator. Based on some recent posts to...

19 years ago

Thumbnail

Published


Bottom Line on Logical
I just posted a blog on logical operator behavior in MATLAB and I want to be clear about the bottom line. Use the newer...

19 years ago

Thumbnail

Published


A Logical Story
Let me set the stage for today's blog. Logical variables have been part of MATLAB from the early days. They...

19 years ago

Thumbnail

Published


Cute Tricks in MATLAB Adapted from Other Languages
I recently saw Steve Baker's web site while searching for something. It contains some cute (Steve's word)...

19 years ago

Thumbnail

Published


Controlling Warning Messages and State
There are occasional posts on the MATLAB newsgroup, such as this one, where people ask how to control when they...

19 years ago

Thumbnail

Published


My Working MATLAB Desktop Layout
A customer asked me recently to show him my preferred MATLAB desktop arrangement so I thought I would show and...

19 years ago

Thumbnail

Published


Code Generation from Import Wizard
Some colleagues and I were talking to some customers recently at a seminar and asked them what some of their...

19 years ago

Thumbnail

Published


Evolution of the Function isfield
Today I want to talk a bit about the function isfield and some of the history of its implementation. isfield...

19 years ago

Thumbnail

Published


Working with Low Level File I/O and Encodings
I'm pleased to introduce Vadim Teverovsky, our guest blogger this week, who gives us his take on MATLAB low...

19 years ago

Thumbnail

Load more