title: "Reverse" of arrayfun
body: <p>I have an array of "object" structures, <code>OBJECT_ARRAY</code>,  that I must often transform into individual arrays for each element of the object structures. This can be done using <code>arrayfun</code>. It's more tedious than simply refereeing to <code>OBJECT_ARRAY(k).item1</code>, but that's how The Mathworks chose to do it.</p>
  
  <p>In this case today, I have used those individual arrays and calculated a corresponding derived value, <code>newItem</code>, for each element and I need to add this to the original array of structures. So I have an array of <code>newItems</code>.</p>
  
  <p>Is there a straightforward way to do an assignment for each object in <code>OBJECT_ARRAY</code> so that (effectively) <code>OBJECT_ARRAY(k).newItem = newItems(k)</code> for every index <code>k</code>?</p>
  
  <p>I am using version 2015a.</p>