Help with a matrix problem

5 vues (au cours des 30 derniers jours)
Andres  Romero
Andres Romero le 12 Sep 2016
Commenté : Andres Romero le 12 Sep 2016
hey maybe someone knows a way to separete Inf and -Inf values? from a vector A = [1;Inf;-Inf;2;6;3] have a new matrix A = [2;6;3]; Thanks if someone can help

Réponse acceptée

KSSV
KSSV le 12 Sep 2016
A = A(~isinf(A)) ;
  1 commentaire
Andres  Romero
Andres Romero le 12 Sep 2016
thank you so much...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by