Help with a matrix problem

5 ビュー (過去 30 日間)
Andres  Romero
Andres Romero 2016 年 9 月 12 日
コメント済み: Andres Romero 2016 年 9 月 12 日
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

採用された回答

KSSV
KSSV 2016 年 9 月 12 日
A = A(~isinf(A)) ;
  1 件のコメント
Andres  Romero
Andres Romero 2016 年 9 月 12 日
thank you so much...

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by