As a simple example, say I had this cell array:
examplecell = {'Name1'} {'Heights'} {'Weights'} {[20000]} {[365]} {[7]} {'Name2'} {'Heights'} {0x0 double} {0x0 double} {0x0 double} {0x0 double} {'Name3'} {0x0 double} {0x0 double} {0x0 double} {0x0 double} {0x0 double}
In this 2-D array, I would want to find the number of elements in a specific row which are not {0x0 double}. It is important that the output is for the particular row, not the cell array overall e.g. for the first row the result would be 6, but for the second row it would be 2, and for the third it would be 1. In practice, the cell array is 6-D.
Best Answer