![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/17384123_1580155510287_DEF.jpg)
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