Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello,
I'm having a problem in a routine I created to parse a data. I have a data, which is attached. I need to calculate the average values that are close to the maximum and the minimum. After that, I need to average those values and then subtract them. I made a routine that takes the values close to the maximum value, but when I set them to a new table, values that do not meet the established criteria are zero in the new vector. I wanted the new vector to have the ordered ones and that there were no valances that did not meet the criteria. The program is also attached.
thank you
Rather than selecting those values that are close to the maximum or minimum, your program selects values that are at least 0.04 less than the maximum value (and nothing about the minimum). So more distant than 0.04 from maximum. That is opposite to 'close to'....
What exactly are you trying to accomplish?
Luc
Not sure but could it be that you are looking for something similar to this: