How can I detect NaN values in a matrix or vector?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Doug Hull
am 18 Jan. 2011
Kommentiert: Fawad Chandio
am 15 Aug. 2019
How do I identify NaN values?
1 Kommentar
Fawad Chandio
am 15 Aug. 2019
Hello I doing facial recognition attendance system for my final year project I already completed some task but now the problem is that how to recognitions faces...? Help me sir
Akzeptierte Antwort
Weitere Antworten (1)
Bozydar Wrona
am 22 Jun. 2017
Bearbeitet: Bozydar Wrona
am 22 Jun. 2017
%num is a vector/matrix, if searching for elements different than NaN then:
num(isnan(num)==0)
%otherwise:
num(isnan(num)==1)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Operators and Elementary Operations finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!