How to remove particular data
Ältere Kommentare anzeigen
I have the following output
Mek Mek
Lahi Ar
Puni N2
Ar Mek
N2 Mek
Mek Lahi
Lahi Puni
Puni BM2
I have uncommon list:
Ar
N2
BM2
I want to remove the entire row if any of the uncommon list appears in that row. I also want to delete if the first column data and second column data equal in the particulR ROW, and remove the entire row. For example, in first row (first &second column), the data is same (Mek). So, I want to delete the entire row. And, in second row, second column, the data is Ar, because it is in uncommon list, so delete entire row. In fifth row, in first column data is N2, which is included in the uncommon list, so remove entire row. Please kindly help, how to do this. The size of out put data and uncommon list may vary. Many thanks in advance.
2 Kommentare
the cyclist
am 1 Okt. 2015
Are these values stored in cell arrays?
Kanakaiah Jakkula
am 24 Okt. 2015
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Univariate Discrete Distributions finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!