title: Using find with a struct
body: <p>I have a struct that holds thousands of samples of data. Each data point contains multiple objects. For example:</p>
  
  <pre><code>Structure(1).a = 7
  Structure(1).b = 3
  Structure(2).a = 2
  Structure(2).b = 6
  Structure(3).a = 1
  Structure(3).b = 6
  ...
  ... (thousands more)
  ...
  Structure(2345).a = 4
  Structure(2345).b = 9
  </code></pre>
  
  <p>... and so on.</p>
  
  <p>If I wanted to find the index number of all the '.b' objects containing the number 6, I would have expected the following function would do the trick:</p>
  
  <pre><code>find(Structure.b == 6)
  </code></pre>
  
  <p>... and I would expect the answer to contain '2' and '3' (for the input shown above).</p>
  
  <p>However, this doesn't work. What is the correct syntax and/or could I be arranging my data in a more logical way in the first place?</p>