Vector entry differs from the others

I do have a vector like this:
a = [1.58419853136419e-14
5.34759521159677e-15
6.22183215019827e-15
5.33041714550654e-15
-2.45483029515651e-15
-1.86911571271619e-15
5.97058651857027e-15
-1.95925304981131e-15
-3.85194404441396]
So the absolute value of one (or even a few more) value deviates very much from the others. How can i locate this deviator efficiently?

 採用された回答

Steve Eddins
Steve Eddins 2020 年 10 月 1 日

0 投票

Try using isoutlier and rmoutliers.

1 件のコメント

Andreas Rhein
Andreas Rhein 2020 年 10 月 1 日
Thats it. Perfect, thanks a lot.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeVehicle Dynamics Blockset についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by