MATLAB: Saving NaN rows and columns into a array after you find them

nan location and storage

Apologies if this is obivious After [row,column] = find(isnan(matrix)) how can the values of (row,column) be stored into an array for later use. Thanks Regards Philip

Best Answer

  • Do you mean:
    result = [row column];