Community Profile

photo

LuKr


Last seen: 4 years ago Active since 2018

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

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?

5 years ago | 1

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

5 years ago | 0