photo

LuKr


Last seen: mer än 4 år 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?

mer än 6 år ago | 1

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

mer än 6 år ago | 0