Published


Making Pretty Graphs
Today I’d like to introduce a guest blogger, Jiro Doke (email: Jiro.Doke@mathworks.com), who is an applications engineer...

18 years ago

Thumbnail

Published


Useful Debugging Commands and Tips
In my personal history using computers, I have learned to embrace debuggers to help me understand what's going on in my...

18 years ago

Thumbnail

Published


uniquely MATLAB
What makes MATLAB unique? You have your choice regarding which element unique returns when there are repeated...

18 years ago

Thumbnail

Published


What Version is Being Used?
Sometimes it's important to have code work in multiple releases of MATLAB, while still taking advantage of new...

18 years ago

Thumbnail

Published


Defensive GUI Programming
Today I want to talk a little bit about defensive programming for GUIs (graphical user interfaces) and other programs...

18 years ago

Thumbnail

Published


How to Safely Try Unknown Code
In my recent post on MExceptions, a user asked if a syntax error inside a function being called in a try/catch...

18 years ago

Thumbnail

Published


Exceptional Behavior
One of the new features of MATLAB in R2007b is a more robust way to manage and reporting errors. We have found...

18 years ago

Thumbnail

Published


Tire Rotation
If only rotating tires were really this easy! After graduate school, I drove east for my post-doc at Woods...

18 years ago

Thumbnail

Published


A Way to Account for Missing Data
MATLAB has the concept of Not-a-Number, also known as NaN for quite some time. Following the IEEE 754 Standard for Binary...

18 years ago

Thumbnail

Published


parfor the Course
Starting with release R2007b, there are multiple ways to take advantage of newer hardware in MATLAB. In MATLAB alone, you...

18 years ago

Thumbnail

Published


Numbered Argument Specification for Print Functions
Since MATLAB Release R2007a, you've been able to number the arguments for functions that format strings. With this...

18 years ago

Thumbnail

Published


Controlling Multithreading
With Release R2007b, you now have the ability to set (and get) the maximum number of allowed threads. What...

18 years ago

Thumbnail

Published


R2007b is Live
Release R2007b is now available. Here's what's new in MATLAB. I plan to highlight some of these features, and...

18 years ago

Thumbnail

Published


for Versus while
A reader suggested I discuss the difference in use of MATLAB's for and while constructs. ...

18 years ago

Thumbnail

Published


Reversal of a sort
We can sometimes be motivated to reverse things in Boston. And I occasionally get asked how to reverse the...

18 years ago

Thumbnail

Published


Iterating over Non-Numeric Values
Recently a colleague was hoping to write some code to iterate over fields in a structure. There are at least...

18 years ago

Thumbnail

Published


A Way to Create Reusable Tools
There are a lot of ways to create reusable tools and widgets in lots of programming languages, including MATLAB. Today...

18 years ago

Thumbnail

Published


Monitoring Progress of a Calculation
Users sometimes want to monitor the progress of some calculation or simulation. Here's a recent example from...

18 years ago

Thumbnail

Published


Assignment with Repeated Indices
I have had customers ask me occasionally about what happens during an indexed assignment when indices are...

18 years ago

Thumbnail

Published


GOTO Humor
GOTO Humor For those of you who wonder why MATLAB does not have a goto statement, you might look at this cartoon in...

18 years ago

Thumbnail

Published


Make Code N-D Safe
I've recently been asked some questions about programming safely to account for N-dimensional data. ...

18 years ago

Thumbnail

Published


sum Things to Consider
I was just helping someone debug a piece of code that was giving an incorrect answer. The code returned an...

18 years ago

Thumbnail

Published


MATLAB User Group in Boston
I know there are a large number of experienced MATLAB users who read this blog. If you happen to live in the...

18 years ago

Thumbnail

Published


Indexing Terminology
Someone recently asked me to discuss X-Y versus row-column indexing. Contents ...

18 years ago

Thumbnail

Published


MathWorks Aerospace and Defense Conference ’07
I'm attending the The MathWorks Aerospace and Defense Conference '07 in Manhattan Beach today and wanted to...

19 years ago

Thumbnail

Published


Indexed Assignment
Recently some folks at The MathWorks wondered about the difference of behavior of variable creation versus...

19 years ago

Thumbnail

Published


More Places to Meet The MathWorks
Here's a brief glimpse into some of the upcoming events where you can meet some of us (including me) from The MathWorks. I...

19 years ago

Thumbnail

Published


Purpose of inv
I have received comments from several savvy customers suggesting that we remove the function inv from MATLAB. ...

19 years ago

Thumbnail

Published


MATLAB Tour Legs 1,2, and 3
I've just returned home from three weeks in Europe on the MATLAB World Tour where I visited Italy, Spain, France, and...

19 years ago

Thumbnail

Published


A Little Bit on Message Handling
This is a quick note about handling errors and warnings in MATLAB. In particular, the function error has a...

19 years ago

Thumbnail

Load more