Undefined function 'ismissing' for input arguments of type 'double'.
Ältere Kommentare anzeigen
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 Kommentar
Walter Roberson
am 5 Aug. 2017
Requires R2013b or later.
Akzeptierte Antwort
Weitere Antworten (1)
deng xifei
am 5 Aug. 2017
0 Stimmen
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 Kommentare
YUXUAN CHEN
am 7 Aug. 2017
Walter Roberson
am 7 Aug. 2017
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.
Kategorien
Mehr zu Numeric Types finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!