Top 1% contributor

**153**Contributions

16 downloads

2 years ago

I = ~ismember(a(:,1:2),b(:,1:2),'rows'); a = a(I,:)

accepted

2

Answered 2 years ago

[~,~,I] = unique([ 0 1 4 4 1 5 8 1 4]); disp(I-1)

accepted

2

Answered 2 years ago

a = reshape(1:9,3,3)'; a = a(:)'

accepted

1

Answered 2 years ago

A(any(cellfun(@(x) any(isnan(x)),A),2),:) = [];

accepted

0

Answered 2 years ago