
Sometimes it's nice to have a best friend. Sometimes I have more than one, context-dependent. I want to share my best friend today for dealing with struct arrays.... read more >>
Blogs
Posted by Loren Shure,
Sometimes it's nice to have a best friend. Sometimes I have more than one, context-dependent. I want to share my best friend today for dealing with struct arrays.... read more >>
Posted by Loren Shure,
I'm Matthew Simoneau, a software developer at MathWorks focusing on technical communication and social computing.... read more >>
Posted by Loren Shure,
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 I'd show it here to help people out. ... read more >>
Posted by Loren Shure,
When I got to work last Friday, I saw an email discussion, on behalf of a customer, trying to find a good way to add a new field to a struct array. So this post will start with that problem, and... read more >>
Posted by Loren Shure,
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 set of posts on the MATLAB newsgroup devoted to this topic.... read more >>
Posted by Loren Shure,
This post continues in the theme from my last post, where people routinely come to me on a topic. Today I want to distinguish
between indexed assignment, where you can take advantage of scalar expansion, and assignment to several output arrays, often
arising from a comma-separated list from cell or struct arrays.... read more >>
Posted by Loren Shure,
Recently a colleague was hoping to write some code to iterate over fields in a structure. There are at least three different ways I can think of, some more straight-forward than others. Here's what I've come up with. ... read more >>
Posted by Loren Shure,
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. ... read more >>
Posted by Loren Shure,
Though I have covered this topic somewhat in the past, it seems like a good time to refresh the information. There are recent posts on the MATLAB newsgroup relating to this topic such as this one. ... read more >>
Posted by Loren Shure,
I have seen an increasing number of questions on structures and extracting information from them in a vectorized way. Though I've already covered portions of this topic in earlier posts, I'll try to bring together a coherent view here. ... read more >>
Recent Comments