Recent content by jwiix

  1. J

    MATLAB MATLAB: Sum & Remove Array Entries (0, 1 & >1)

    Hi If you array is something like: A=[1 0 0 0 1 0 1 0 25 5 8 69 0 0 1 0 1 0 1 1 1 1 0 4 7 0 1] A quick way to remove all the bumf greater than 1 in your array is: A(A>1)=[]; ______ For your summing problems try: x=find(A>1) %This will return all the points greater than 1...