How to select cells in a table with values in a given range?
2 次查看(过去 30 天)
显示 更早的评论
E.g. I want to select every cell from a column whose content is a number in the range 1:2:17.
3 个评论
采纳的回答
Peter Perkins
2018-3-29
Hard to say what you are really asking, but in MATLAB ...
t = readtable(example.xls')
t2 = t(ismember(t.condition,1:2:17),:)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!