Loc values within a range in a matrixIs there a way to search a matrix for values within a certain range?
For example if my matrix is [1, 2, 5, 7, 8] is there a way I can look for values that are 4<6 (returning 5 or position 3)
Re: Loc values within a range in a matrixDocumentation on all of the Matrix operators is located in either
Help==>Books==>Scripting Guide==>Matrices
or
Help==>Scripting Index==>Loc
If you are going to be using matrix manipulation in JMP, I strongly suggest you read the Matricies section in the Scripting Guide
Re: Loc values within a range in a matrixa = [1, 2, 5, 7, 8];
b = Loc(a>2 & a <8);
Try this