08-11-2016 06:55 AM
Hello,
I have an array A with N elements. Some elements are zero. Now I need asubset array from A with the elements greater than zero.
Thanks
Solved! Go to Solution.
08-11-2016 07:18 AM - edited 08-11-2016 07:19 AM
If you are not checking for best method then
-index array to for loop to get every element
-Compare it with not equal to zero
-If it's true add that element to array by indexing to for loop by conditional indexing.
08-11-2016 07:34 AM
I think something like this?
-Michael
08-11-2016 07:57 AM
This will work for you..
08-12-2016 02:29 AM
Thx Guys,
it works ...