So, I have this cell array of numbers, and I want to delete a entire row if the sum of its values are lesser than a predetermined number. I tried using for loop and while loop but it's too slow due to the size of my cell array. Is there any way of doing this using cell fun?
example: cell1 =
[1] [2] [3] [0] [0] [0] [4] [5] [6]
then I want only rows where the sum is greater than 10.
cell1 =
[4] [5] [6]
Thanks.
Best Answer