I'm trying to check for a NaN value in an array in if condition expression but the control is not entering inside if condition.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
For example :
A = [1 2 3 NaN 3 5]; if isnan(A) ~= 0 %... end
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!