How to filter a 'tall' array using multiple conditions?
Mostrar comentarios más antiguos
I'm trying to get some data out of 'tall' arrays, with multiple conditions. So for example if my 'tall' array has 5 columns, I want to filter the array with conditions on multiple columns. 'find' doesn't work...
3 comentarios
Edric Ellis
el 29 de En. de 2018
Generally with tall arrays, logical indexing is the way to go. Can you post some code that you're trying to run that doesn't work with tall?
Johannes Koch
el 29 de En. de 2018
Adam Filion
el 23 de Abr. de 2018
Do you need to return the 'check' value for some reason? It will always have the value of 'true'. If not it should be more efficient to return only the tall table itself without appending the logical index to it.
result = gather(tt(logtt,1:6));
Respuestas (0)
Categorías
Más información sobre Tall Arrays 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!