scalar multiplication of two vectors giving me NAN,both are of same dimensions.
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sairohith mudduluru
le 17 Fév 2018
Réponse apportée : Roger Stafford
le 17 Fév 2018
motregenelecpower=regenpower.*moteffregen
0 commentaires
Réponse acceptée
Roger Stafford
le 17 Fév 2018
A zero in one vector multiplied by a corresponding infinity in the other vector will give a NaN result. You would do well to check the contents of your vectors.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!