Remove some zeros from a cell

Hi,
My aim is to remove all 0 for each columns of this attached cell.
I have actually no idea on how to do that...
Thanks in advance for you help !
Louise

 采纳的回答

hello
simple code below , replace zeros with NaN (example)
load('Cell.mat')
dd = cell2mat(Data_All_Repos);
dd(dd<eps) = NaN ; % more obust than dd(dd==0) = NaN

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by