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 351 - 360 of 539

Empty Arrays with Flow of Control and Logical Operators 17

After reading last week's post on calculating with empty arrays, one of my colleagues mentioned some other behaviors with empty arrays that have tripped him up in the past.... read more >>

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... read more >>

Dealing with Cells 37

A customer recently asked me this question at the MATLAB Virtual Conference. Contents ... read more >>

Concatenating structs 11

From time to time, I get asked or see queries about how to concatenate two struct arrays to merge the fields. There's even a section in the documentation covering this topic. I thought... read more >>

Handling Discrete Data

Discrete data arise in many applications and the data may be numeric, or non-numeric, often referred to as categorical. Not all data are strictly numeric, and other... read more >>

October 14 – Virtual MATLAB Conference 6

We're having a MATLAB conference on October 14, in the virtual world. There'll be presentations, forums, chats, live discussion, etc. Please check out the event and join in the fun! ... read more >>

Using parfor Loops: Getting Up and Running 81

Note. NOTE: matlabpool was removed in 2015 and you should replace that with parpool instead. Today I’d like to introduce a guest blogger, Sarah Wait... read more >>

MATLAB Release 2009b – Best New Feature or ~? 53

MATLAB R2009b was recently released. My favorite new language feature is the introduction of the ~ notation to denote missing inputs in function declarations, and missing outputs in... read more >>

Rounding Results 15

There are frequent questions on the MATLAB newsgroup about rounding results to a certain number of decimal places. MATLAB itself doesn't provide this functionality explicitly, ... read more >>

Precision and realmax

I was on a recent email thread at the office regarding realmax, eps, and overflow. Contents ... read more >>

Posts 351 - 360 of 539

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