Question
creating a new vector from a matrix using a selection criterion
- September 4, 2018
- 4 replies
- 2626 views
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

