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 CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by