Find the index of an interval of values in cell array
3 次查看(过去 30 天)
显示 更早的评论
I have a cell array 1X500, and inside evey cell 6000 value.
I want to find the index on the values (it has to be between 1 and 500) if the values s are : 500<s< 956
I tried with
index = cellfun(@(x) 500 < x < 956, SS, 'uniform', false);
But I didnt get the index
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!