Community Profile |

See: doc copyfile

*2041* views

Responded 4 years ago

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

accepted

0

Answered 4 years ago

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

accepted

0

Answered 4 years ago

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

*1886* views

Responded 5 years ago

Regardless of input, output the string 'yes'.

Solve this!

3 years ago