How could find the index (number of row ) that are deleted by "deleteoutliers"

조회 수: 4 (최근 30일)
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
Rik
Rik 2018년 10월 20일
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.
Nooshin Mahmoodi
Nooshin Mahmoodi 2018년 10월 20일
yes, that is, I check the information of it now. thanks

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2018년 10월 20일
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
Stefany Shela Amanda
Stefany Shela Amanda 2023년 6월 8일
excuse me, can I know what should I fill in the (_)? Thanks
Rik
Rik 2023년 6월 8일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by