Hi,
I have an array of data, I want to interpolate NaNs over columns but only if there is 5 or less consecutive NaNs in a column.
I was thinking of using isnan function, and then marking places where I need to interpolate, but I'm not sure exactly how to do that.
Any ideas are welcom 🙂 Thanks!
K.
Best Answer