How to remove particular data
Mostrar comentarios más antiguos
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 comentarios
the cyclist
el 1 de Oct. de 2015
Are these values stored in cell arrays?
Kanakaiah Jakkula
el 24 de Oct. de 2015
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Univariate Discrete Distributions en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!