Undefined function 'ismissing' for input arguments of type 'double'.
이전 댓글 표시
When I was practicing 'ismissing', there was an error, shown below:
A = [3 NaN 5 6 7 NaN NaN 9]; TF = ismissing(A)
Undefined function 'ismissing' for input arguments of type 'double'.
How can I deal with it?
댓글 수: 1
Walter Roberson
2017년 8월 5일
Requires R2013b or later.
채택된 답변
추가 답변 (1개)
deng xifei
2017년 8월 5일
0 개 추천
Hi
you should know that the type of input variable for function ismissing should be dataSet, not a vector. And you are trying to take a matrix as the input, so you get the error tips.
댓글 수: 2
YUXUAN CHEN
2017년 8월 7일
Walter Roberson
2017년 8월 7일
This advice is not correct. ismissing() is defined for at least the following data types:
- double, single;
- char, string, cell of character vectors;
- duration, calendarDuration, datetime;
- categorical
and possibly others.
카테고리
도움말 센터 및 File Exchange에서 Numeric Types에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!