Removing outliers from a table

2 visualizaciones (últimos 30 días)
Uyen Nguyen
Uyen Nguyen el 9 de Sept. de 2020
Respondida: KSSV el 9 de Sept. de 2020
Hello,
I have a 98x7 table that contains a Y variable and multiple X variables acting as the predicting variable. I am trying to extract the outliers that's detected in Y using 'isoutlier' and also remove those outliers in the appropriate rows for all of the X variables. I'm having a hard time since i seem to can only access the table via T.(i) and i'm confused about how to index the table to remove the approriate rows.
Please help !

Respuestas (1)

KSSV
KSSV el 9 de Sept. de 2020
If id is the row number which you want to delete:
yourtable(yourtable.id, :) = [];

Categorías

Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by