photo

LuKr


Last seen: 4 years 前 自 2018 起处于活动状态

Followers: 0   Following: 0

统计学

  • First Answer

查看徽章

Feeds

排序方式:

已回答
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?

6 years 前 | 1

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

6 years 前 | 0