I have a cell array that looks like this:
Cells in column 1 would look similar to this with nan values mixed values of salinity:
Column 2 is depth values from 1 and onwards, like this:
Is there any way to remove the nan values in column 1 and the corresponding values in column 2?
I've been trying to search for it but haven't found a way that I could get to work.
Best Answer