Jump to content

Averaging data in a 2D matrix in a selective way.


Recommended Posts

:thumbup: Thanks WMassey for coming to my resque again. After seeing your first solution I struggel with the average part for a while and went to bed with out getting it. It is nice to come back to work to find your gift. :D

You are welcome. A bit of struggling is good. It's how we learn.

I should point out to anyone who might try to take these example VIs out of context, one of the starting conditions of the incoming array specified in the original post was "The data in the X column is sorted in ascending order". While the example VIs don't care if the X data is ascending or descending, the input X data must be sorted so that all identical values of X are grouped together.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.