Selecting data points by logical indexing
Tue, 10/09/2018 - 12:58 pm
I am trying to use 4 conditional statements to select data based on location. I want the output to contain only those data points that fall between the max and min latitude and the max and min longitude. I'm unsure if this is the BEST way to go about it, but it seems like it could work.
Currently, the function either generates a wave identical to the input (as if every point met the conditions) or a wave of NaN's (as if none of the points met the conditions), depending on the thresholds used. This suggests to me that the function is operating over the waves as a whole instead of individual index points? Suggestions would be greatly appreciated!
Igor Pro 8
Igor XOP Toolkit
Igor NIDAQ Tools MX