I have my data stored in a structure. Every field is a 11300x1 array of doubles. I want to extract all (also some would be interesting) data that meet a certain condition to a new struct built the same way of the first:
e.g.: if field1 is 'time', field2 is 'temperature' and field3 is 'length' I want to extract all of the triples (time, temperature, length) that have a temperature > 300 K and save them contiguously in a new structure 'data_high_temperature'.