how to replace missing values from a double inside a cell array?
1 回表示 (過去 30 日間)
古いコメントを表示
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]};
0 件のコメント
採用された回答
JESUS DAVID ARIZA ROYETH
2020 年 2 月 5 日
newA=cellfun(@(x) x.*(x~=100000)./(x~=100000),A,'Uni',false)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で NaNs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!