Community Profile

photo

LuKr


Last seen: más de 1 año ago Active since 2018

Statistics

  • First Answer

View badges

Content Feed

View by

Answered
Split array according to one column values
B=A(cellfun(@(x) isequal(1,x),{A{:,2}}),:) C=A(cellfun(@(x) isequal(2,x),{A{:,2}}),:) Maybe like this?

más de 3 años ago | 0

Answered
How to clear out rows of zeros in a matrix?
If A is your matrix: A(A(:,1)==0,:)=[]

más de 3 años ago | 0