the point is that I have repeated data so I have different cells with different dimensions and I deleted the outlier for each cell.
How could find the index (number of row ) that are deleted by "deleteoutliers"
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nooshin Mahmoodi
el 20 de Oct. de 2018
Comentada: Rik
el 8 de Jun. de 2023
I have a table with 9 cells to find the outliers and omit them in each cell, I used the "deleteoutliers" function base on a specific column. but it omits the data just on that specific column, I need to delete all related data to that outliers. How could find the index (number of rows) that are deleted by "delete outliers"?
3 comentarios
Rik
el 20 de Oct. de 2018
You mean this FEX submission? That one returns the indices of the removed values, so that should work.
If that is not the function you mean, you should provide a link or attach the function.
Respuesta aceptada
Image Analyst
el 20 de Oct. de 2018
I think you mean rmoutliers(). If you accept the second returned argument, you will get the ones that are identified as outliers:
[B,TF] = rmoutliers(___) also returns a logical vector corresponding to the rows or columns of A that were removed.
3 comentarios
Stefany Shela Amanda
el 8 de Jun. de 2023
excuse me, can I know what should I fill in the (_)? Thanks
Rik
el 8 de Jun. de 2023
That is the standard notation used in the documentation to denote 'any of the other described valid input syntaxes'. See the documentation for the exact options and usage examples. I suspect simply providing the array you want to clean will already work.
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical 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!