Removing rows from all columns based on values of one column
Mostrar comentarios más antiguos
Hi all, i have a data of 732x26 and one of the column contains unwanted values, i used
logicalIndex = FOMassFlow > MeanFOMassFlow;
FOMassFlow = FOMassFlow(FOMassFlow ~= 0)
to remove the unwanted values of the particular column. How can i remove the rows of the unwanted values in the data of 732x26 ? (example, unwanted values found in column 5 row 6, i would like to remove the entire row 6 in the data of 732 rows by 26 columns)
Respuesta aceptada
Más respuestas (1)
Shrirang
el 20 de Feb. de 2015
0 votos
Hi Crixus, Suppose name of your data matrix is X which is of size 732*26 and you want to remove row 6 then you can use following syntax X(6,:) = [] this will delete your 6th row in X matrix. I hope this will help you.
1 comentario
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!