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 日

1 投票

A = A(~isinf(A)) ;

1 件のコメント

Andres  Romero
Andres Romero 2016 年 9 月 12 日
thank you so much...

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeResizing and Reshaping Matrices についてさらに検索

質問済み:

2016 年 9 月 12 日

コメント済み:

2016 年 9 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by