필터 지우기
필터 지우기

Meaning of ~isempty()

조회 수: 291 (최근 30일)
abc abc
abc abc 2016년 7월 26일
편집: Stephen23 2016년 7월 26일
Hello, i would like to know what this expression means : ~isempty(t) where t is a vector ?
At the beginning i thought it was just to know if t is a empty vector but if remove the ~ my code doesn't work anymore. So what do you think of that ?
Thanks a lot !

채택된 답변

Adam
Adam 2016년 7월 26일
편집: Adam 2016년 7월 26일
~ means NOT
so isempty tells you if the vector is empty and ~isempty tells you if the vector is not empty.
  댓글 수: 1
abc abc
abc abc 2016년 7월 26일
Perfect thanks !

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by