Top 5% contributor

**45**Contributions

See: doc copyfile

*2516* views

Responded 5 years ago

Given A: idx = A~=0; c = sum(idx,1); r = sum(idx,2);

accepted

0

Answered 5 years ago

How about this one: [d ix] = sort(C{12}); newC = cellfun(@(x)x(ix),C,'un',0);

accepted

0

Answered 5 years ago

One way: r = find(ismember(cell2mat(C)',[7;4;2]','rows')) -Nathan

*2081* views

Responded 6 years ago

Regardless of input, output the string 'yes'.

Solve this!

4 years ago