![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/3957434_1525376243657_DEF.jpg)
LuKr
Followers: 0 Following: 0
Statistics
0 Questions
2 Answers
RANK
19,221
of 293,474
REPUTATION
2
CONTRIBUTIONS
0 Questions
2 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
1
RANK
of 20,032
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 148,733
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
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 ago | 1
How to clear out rows of zeros in a matrix?
If A is your matrix: A(A(:,1)==0,:)=[]
6 years ago | 0