Malcolm Campbell
Followers: 0 Following: 0
Feeds
已回答
determining whether a number lies in any of the intervals of a 2 column matrix
What about: bin_edges = sort(reshape(B,numel(B),1)); [~,~,bin] = histcounts(A,bin_edges); idx = ~isEven(bin); Works fast...
determining whether a number lies in any of the intervals of a 2 column matrix
What about: bin_edges = sort(reshape(B,numel(B),1)); [~,~,bin] = histcounts(A,bin_edges); idx = ~isEven(bin); Works fast...
3 years 前 | 0