I have a 4 by 4 double that I want to switch to a cell array, so i can search for the occurrence of a number.
lets A be the 4 by 4 double. using this line of code.
A_cell = cellstr(num2str(A));
I get a 4 by 1 cell array, by I want 4 by 4 cell array so I search through the numbers and find the occurrence. cheers.
Best Answer