I have a cell array (10001x21)
in which the first 3 columns have data in all the rows. From columns 4 to 21
I have data In some of the cells of a particular row and some rows might be completely empty.
I want to retain only rows which have the data in some of the columns from 4 to 21
and remove all the empty rows which do not have any data in the columns (4:21)
. Any help would be appreciated in this case.Thanks.
This is in Matlab environment
This is how the data looks
'1Fb6' 2014 'F' [] [] [] [] [] [] [] [] [] []
'1Fc6' 2014 'F' [] [] [] [] [] [] [] [] [] []
'1Fd6' 2014 'F' [] [] [] [] [] 'ka1' [] [] [] []
'1Fk6' 2014 'F' [] [] [] [] [] [] [] [] [] []
'1Fy6' 2014 'F' [] [] [] [] [] [] [] [] [] []
'1Fz6' 2014 'F' [] [] 'na1' [] [] [] [] [] [] []
'1Fj6' 2014 'F' [] [] [] [] [] [] [] [] [] []
'1Fm6' 2014 'F' [] [] [] [] [] [] [] [] [] []
'1Fn6' 2014 'F' [] [] [] [] 'bo1' [] [] [] [] []