MATLAB: How to find a block containing NaN in cell hi sir,i have cell of 10*10 cell which look like below double <5×10 double> <5×10 double> <5×10 double> <5×10 double> <5×10 double> <5×10 double> <5×10 double> <5×10 double> i have to find in which 5×10 double NaN is present Best Answer A={[1 nan 2] [1 3 5] [nan nan 7] [9 7 2]}out=cellfun(@(x) any(any(isnan(x))),A) Related SolutionsMATLAB: Does a cell vector contains only NaN cisnan = @(C)all(cellfun(@(x)all(isnan(x(:))),C));cisnan(your_cell) MATLAB: How to show a column of a cell array Say your cell array is A. A(:,4)=num2cell(cumsum(cell2mat(A(:,3))))(Cells to numeric, do the math, numeric back to cells.) Related QuestionCorrelation between two row matricesSorting Cell stucture with different data typesTransforming some cells having 2-dimensional matrics to 3-dimensional matricsI want to delete a specific number of NaN in a matrixFinding values of specific range from table row or columnFind the last NaN value in cell array and compare it with the next column
Best Answer