I was wondering if there is a function like the one (smaller) below, but instead extracts values that are unequal to zero?
a = [67 0 8 25 0 20 0 90 7 2 9];
smaller10 = a(a < 10)
smaller10 =
0 8 0 0 7 2 9
I was wondering if there is a function like the one (smaller) below, but instead extracts values that are unequal to zero?
a = [67 0 8 25 0 20 0 90 7 2 9];
smaller10 = a(a < 10)
smaller10 =
0 8 0 0 7 2 9