I have a question to ask you.
I have a matrix N x M which contains a large number of zero. I wish to find the position of the element not equal to zero and to classify them in a table of two columns: line of the matrix and the column of the matrix. I do not need the value of the element.
Do you know how I have to proceed?
Thanks for help
Matrix data type in LabVIEW is similar as an Array data type, you can use nested For loops to extract individual elements of the matrix and then just check if it is a non-zero element and if so store the iteration ('i' terminal) of both the loops... that will give you the row ('i' terminal of outer loop) and column ('i' terminal of inner loop) index of each non-zero element.
I am not allergic to Kudos, in fact I love Kudos.
Make your LabVIEW experience more CONVENIENT.