Vector entry differs from the others

3 vues (au cours des 30 derniers jours)
Andreas Rhein
Andreas Rhein le 1 Oct 2020
Commenté : Andreas Rhein le 1 Oct 2020
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?

Réponse acceptée

Steve Eddins
Steve Eddins le 1 Oct 2020
Try using isoutlier and rmoutliers.
  1 commentaire
Andreas Rhein
Andreas Rhein le 1 Oct 2020
Thats it. Perfect, thanks a lot.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by