ho to change cell array elemen value to Nan, when using gpuarray?
古いコメントを表示
Hello Everyone,
Maybe somebody has a solution for this case? I have gpu cellarray with 1x499 and cells within 5x5. I would like to find zeros and change them to Nan. What I managed to do is here:
SQ=cellfun(@(x)(x==0,NaN,x), SQ,'UniformOutput',false);
1 件のコメント
Mantas Vaitonis
2018 年 6 月 19 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で GPU Computing in MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!