- Convert the categorical variables from character representation to categorical
- Use findgroups and splitapply, grpstats, etc., to group by variable(s) value
How to extract data from a table based on a specific variable
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Grigorios Kyritsakas
el 12 de Oct. de 2018
Comentada: Grigorios Kyritsakas
el 15 de Oct. de 2018
I have a huge csv file with 7 columns that I import into matlab as a table (see picture below).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197700/image.png)
Is there a way to split this table into smaller tables that contain all the rows with the same Asset Description? For example, I would like to create a table with all the rows where my Asset is 'Glendevon'. The different variables in the Asset Description Row are 210, which means that "manual" extract is not an option.
Thanks
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Tables en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!