MATLAB: How to replace missing values from a double inside a cell array

missing

I really thanks in advance anybody can tell me how can I replace THE missing values (100000) in the below cell array with NaN.
A = {[1,2,3,100000,4,5,100000],[6,100000,7,100000]};

Best Answer

newA=cellfun(@(x) x.*(x~=100000)./(x~=100000),A,'Uni',false)