Help with a matrix problem

5 Ansichten (letzte 30 Tage)
Andres  Romero
Andres Romero am 12 Sep. 2016
Kommentiert: Andres Romero am 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

Akzeptierte Antwort

KSSV
KSSV am 12 Sep. 2016
A = A(~isinf(A)) ;

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by