I have an array Z=[x,y] in matlab and i want to remove zero values of y and also the corresponding x. I also want to remove the descending trends. help me Z =
0 0
11.0000 0
15.0000 4.1667
23.0000 4.1667
25.0000 2.7778
28.0000 0
49.0000 0
54.0000 4.1667
56.0000 4.1667
61.0000 8.8889
85.0000 8.8889
93.0000 2.7778
96.0000 0
117.0000 0
122.0000 4.1667
124.0000 4.1667
133.0000 9.7222
135.0000 9.7222
143.0000 13.8889
155.0000 13.8889
163.0000 9.7222
176.0000 9.7222
178.0000 8.8889
185.0000 2.7778
188.0000 0
195.0000 0