Statistica
MATLAB Answers
0 Domande
2 Risposte
RANK
19.221
of 300.759
REPUTAZIONE
2
CONTRIBUTI
0 Domande
2 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
1
RANK
of 170.900
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risposto
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?
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?
oltre 7 anni fa | 1
Risposto
How to clear out rows of zeros in a matrix?
If A is your matrix: A(A(:,1)==0,:)=[]
How to clear out rows of zeros in a matrix?
If A is your matrix: A(A(:,1)==0,:)=[]
oltre 7 anni fa | 0
